Skip to content

Commit

Permalink
Use farm_people entity_reference View for exposed Owner filter in far…
Browse files Browse the repository at this point in the history
…m_asset View farmOS#835

Fixes User 1 appears in Owner filter of farm_asset View farmOS#830
  • Loading branch information
mstenta committed May 7, 2024
1 parent b896218 commit fa57274
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed

- [Remove data_table from existing plan_record entity type definition #829](https://github.com/farmOS/farmOS/pull/829)
- [Use farm_people entity_reference View for exposed Owner filter in farm_asset View #835](https://github.com/farmOS/farmOS/pull/835)

## [3.2.1] 2024-04-12

Expand Down
14 changes: 5 additions & 9 deletions modules/core/ui/views/config/install/views.view.farm_asset.yml
Expand Up @@ -1016,17 +1016,13 @@ display:
default_group_multiple: { }
group_items: { }
reduce_duplicates: false
handler: 'default:user'
handler: views
widget: select
handler_settings:
target_bundles: null
sort:
field: _none
direction: ASC
auto_create: false
filter:
type: _none
include_anonymous: false
view:
view_name: farm_people
display_name: entity_reference
arguments: { }
filter_groups:
operator: AND
groups:
Expand Down

0 comments on commit fa57274

Please sign in to comment.