Paul Weidner
|
6a14fe5809
|
Implement an asset_or_location views argument plugin.
|
2021-06-04 21:36:11 -04:00 |
|
Michael Stenta
|
c41d943760
|
Only show "Children" tab if the asset has children.
|
2021-06-04 21:17:41 -04:00 |
|
Michael Stenta
|
187bd7abcb
|
Move all Views hooks to *.views.inc and *.views_execution.inc include files.
|
2021-06-04 21:17:41 -04:00 |
|
Michael Stenta
|
bde8a08c85
|
Only show "Assets" tab on Location assets.
|
2021-06-04 21:15:25 -04:00 |
|
Michael Stenta
|
45cfc85608
|
Add an "Assets" tab to asset pages that uses the Views contextual filter to show assets in the location.
|
2021-06-04 21:15:25 -04:00 |
|
Michael Stenta
|
9f841e0183
|
Fix farm_ui_views RouteSubscriber docblock.
|
2021-06-04 16:07:40 -04:00 |
|
Paul Weidner
|
eae26e5e7f
|
Issue #3216789: Remove the local task plugin definition for farm entity collection links.
|
2021-06-01 20:21:16 -04:00 |
|
Michael Stenta
|
f9f3305260
|
Allow sorting a field before another field (default is after).
|
2021-05-27 14:59:33 -04:00 |
|
Michael Stenta
|
9adf6ea30e
|
Set $preserve_keys argument to TRUE in both array_slice() calls.
|
2021-05-27 14:59:33 -04:00 |
|
Michael Stenta
|
596b8c8959
|
Split Views field sorting logic out to a helper function.
|
2021-05-27 14:59:33 -04:00 |
|
Michael Stenta
|
0eff167220
|
Override the "collection" link path for assets, logs, and plans to use the Views provided by farm_ui_views.
|
2021-05-27 13:01:10 -04:00 |
|
paul121
|
76d6370fb3
|
Only return access result allowed or access result neutral.
|
2021-05-21 12:33:04 -07:00 |
|
paul121
|
a2cb3b26ab
|
Add the log_list:bundle cache tag to the access result.
|
2021-05-21 10:56:25 -07:00 |
|
paul121
|
838cd33c15
|
Use entity aggregate query to get log counts.
|
2021-05-21 10:56:21 -07:00 |
|
paul121
|
08fba9b13e
|
Remove unnecessary service argument.
|
2021-05-21 09:20:03 -07:00 |
|
Michael Stenta
|
5df960aab6
|
Fix Notice: Undefined index: region in farm_ui_views_add_bundle_handlers().
|
2021-05-20 18:40:13 -04:00 |
|
Michael Stenta
|
03deaec1a1
|
Adapt hook_views_pre_view() and hook_views_pre_render() logic to work with page_asset display.
|
2021-05-20 18:39:35 -04:00 |
|
Michael Stenta
|
3623072fa9
|
Only show tabs for log types that have query results.
|
2021-05-20 18:39:35 -04:00 |
|
Michael Stenta
|
6856438e71
|
Add tabs for each log type.
|
2021-05-20 18:39:35 -04:00 |
|
Michael Stenta
|
975ac415d5
|
Add a Logs tab to asset pages that shows all logs.
|
2021-05-20 17:47:36 -04:00 |
|
Michael Stenta
|
8f5b1ec82d
|
Add an "Asset reference (page)" display to farm_log View for logs that reference an asset.
|
2021-05-20 17:47:36 -04:00 |
|
Michael Stenta
|
16a64f9b4e
|
Add @see FarmQuantityViewsMenuLink to FarmViewsMenuLink.
|
2021-05-20 17:47:36 -04:00 |
|
Michael Stenta
|
2309a0296d
|
Set weight of "Children" tab to 50.
|
2021-05-20 17:47:36 -04:00 |
|
paul121
|
05cbfdc34f
|
Don't add fields or filters for "hidden" bundle fields.
|
2021-05-20 17:31:59 -04:00 |
|
paul121
|
9ce8e65617
|
Reverse the bundle fields array to preserve the original field order.
|
2021-05-20 17:31:59 -04:00 |
|
paul121
|
38100c1f8b
|
Add bundle-specific views fields in between other columns.
|
2021-05-20 17:31:59 -04:00 |
|
paul121
|
e4034a696a
|
Render timestamp fields in the html_date format.
|
2021-04-21 14:26:25 -04:00 |
|
paul121
|
5bf9a605fc
|
Exposed string fields use the contains operator.
|
2021-04-21 14:26:25 -04:00 |
|
paul121
|
719668844d
|
Use a multi-select field for exposed taxonomy_term reference filters.
|
2021-04-21 14:26:25 -04:00 |
|
paul121
|
3c5dc06539
|
Do not render a link to referenced taxonomy terms.
|
2021-04-21 14:26:25 -04:00 |
|
paul121
|
78a50470e8
|
Do not set an ID when adding views handlers.
|
2021-04-21 14:26:25 -04:00 |
|
paul121
|
bf3f97d984
|
Add log_category exposed filter to farm_log views.
|
2021-04-21 14:26:25 -04:00 |
|
paul121
|
7668715633
|
Add page view of asset children in the Children tab.
|
2021-04-19 13:34:00 -04:00 |
|
paul121
|
1828edfb91
|
Grant access farm_asset entity browser pages to all managed roles.
|
2021-04-19 13:06:40 -04:00 |
|
Michael Stenta
|
82a77648c8
|
Create a helper function for adding bundle-specific field and filter formatters.
|
2021-04-08 15:37:23 -04:00 |
|
Michael Stenta
|
746e189664
|
Split map logic out of farm_ui_views to a new farm_ui_map module.
|
2021-04-08 11:24:55 -04:00 |
|
Michael Stenta
|
f57cebd68f
|
Split Asset GeoJSON Views displays out to their own View provided by the farm_location module.
|
2021-04-08 11:24:55 -04:00 |
|
paul121
|
848f271882
|
Add the asset_type_layers behavior to the asset_list map config.
|
2021-04-08 11:24:55 -04:00 |
|
paul121
|
2baa65eeba
|
Display asset cluster layers in a separate layer group.
|
2021-04-08 11:24:55 -04:00 |
|
paul121
|
515352ef4e
|
Create a geojson feed of asset centroids. Change paths to be assets/geojson/{geom_type}/{asset_type}
|
2021-04-08 11:24:55 -04:00 |
|
paul121
|
fb09715727
|
Change asset geojson path to /assets/geojson/type and default to all.
|
2021-04-08 11:24:55 -04:00 |
|
paul121
|
214d9e9c1f
|
Recreate the exposed_filters array before creating each map layer.
|
2021-04-08 11:24:55 -04:00 |
|
paul121
|
1178422f75
|
Create individual layers for land_type and structure_type assets.
|
2021-04-08 11:24:55 -04:00 |
|
paul121
|
bdfd2546c2
|
Add land_type and structure_type exposed filters to asset geojson display.
|
2021-04-08 11:24:55 -04:00 |
|
paul121
|
aa5e956717
|
Assemble geojson url client side.
|
2021-04-08 11:24:55 -04:00 |
|
paul121
|
ea235f2207
|
Render a map with asset geometries as an attachment before asset views.
|
2021-04-08 11:24:55 -04:00 |
|
paul121
|
7b17007e69
|
Create asset_list map type.
|
2021-04-08 11:24:55 -04:00 |
|
paul121
|
ced32098f6
|
Depend on farm_map.
|
2021-04-08 11:24:54 -04:00 |
|
paul121
|
90080daa90
|
Add geojson feed of asset geometry to the farm_assets view.
|
2021-04-08 11:24:54 -04:00 |
|
paul121
|
75ddc435b4
|
Add dependency on drupal/views_geojson to create views geojson feeds.
|
2021-04-08 11:24:54 -04:00 |
|