3
0
Fork 0
mirror of https://github.com/farmOS/farmOS.git synced 2024-02-23 11:37:38 +01:00
Commit graph

60 commits

Author SHA1 Message Date
Michael Stenta
25b4525659 Use new helper function in farm_group_membership_set(). 2018-04-17 14:31:06 -04:00
Michael Stenta
f9b85b8137 Add "Flag" bulk action button to area, asset, and log Views. 2018-04-17 09:30:56 -04:00
Michael Stenta
1f78378885 Fix default field weights in assets so that "Name" appears on top (again). 2018-04-16 13:48:58 -04:00
Michael Stenta
e1adae3dda Issue #2907879: Add row counter to asset/log lists 2018-04-16 13:48:41 -04:00
Michael Stenta
1a3ca112f6 Add exposed "Items per page" option to all Views. 2018-04-16 13:46:53 -04:00
drupalgin
0e5a226627 Issue #2950316 by drupalgin: Fixed coding standards 2018-04-07 12:40:16 -04:00
Michael Stenta
e7e808de70 Add exposed Group filter to all asset views. 2018-04-05 10:15:38 -04:00
Michael Stenta
7d6d07c2ca Provide a Views filter handler for asset groups. 2018-04-05 09:03:33 -04:00
Michael Stenta
96539b8804 Issue #2954290 by m.stenta, Permakai: Duplicate asset rows when an asset is in multiple groups 2018-03-22 18:39:58 -04:00
Michael Stenta
8ee64a55c3 Add exposed sort for asset ID and log ID on all asset and log Views. 2018-03-19 17:02:19 -04:00
Michael Stenta
0bfc8ff143 Add Flags field and filter to all asset and log Views. 2018-03-19 17:02:19 -04:00
Michael Stenta
50e82d0c68 Add Flags field to all asset and log types. 2018-03-19 17:02:19 -04:00
Michael Stenta
ce20af68b4 Fix PHP warning when saving a new asset with group membership. 2018-03-01 10:41:23 -05:00
Michael Stenta
364c4990c4 Add "Archive" and "Unarchive" VBO buttons to all asset Views. 2018-02-26 22:18:53 -05:00
Michael Stenta
4c791db2a4 Update farm_group functions to use 'archived' instead of 'active'. 2018-01-31 16:03:48 -05:00
Michael Stenta
559fa040b7 Misc Views updates. 2018-01-31 09:36:51 -05:00
Michael Stenta
ca0ad53caf Update all Views to use new 'archived' field/filter/sort. 2018-01-31 09:36:51 -05:00
Michael Stenta
17f4fd2d07 Implement hook_farm_area_link_alter() to add a count of group members. 2018-01-29 15:24:45 -05:00
Michael Stenta
3919482f4d Issue #2935314: Make farm_group_circular_membership_validate() more defensive with parameter inputs. 2018-01-10 16:24:57 -05:00
Michael Stenta
3e908ede51 Fix PHP Notice: Undefined index: group in farm_group_asset_form_submit(). 2017-12-31 11:13:11 -05:00
Michael Stenta
b6722da8fb Fix asset field weights so that name is always at top. 2017-12-30 16:50:50 -05:00
Michael Stenta
13f70c6aee Add dependencies on farm_asset_views. 2017-12-30 16:39:07 -05:00
Michael Stenta
52af43b8a7 Add Group filter to all asset Views. 2017-12-30 13:13:51 -05:00
Michael Stenta
96efe03401 Validate that the "Group membership" field in asset edit forms can't create circular memberships. 2017-12-28 14:03:57 -05:00
Michael Stenta
e385792096 Remove secondary log ID sorts (this is done automatically in Log module now). 2017-12-28 11:10:11 -05:00
Michael Stenta
5d2dd3c17e Misc Views export updates. 2017-12-27 17:37:38 -05:00
Michael Stenta
c3a6c9c556 Change "Name/Search" column to "Log name" and add exposed "Log name" and "Log type" filters and sorts to log Views. 2017-12-27 17:34:43 -05:00
Michael Stenta
da0030f4ee Limit farm_group_members() to active assets by default. 2017-12-16 09:35:57 -05:00
Michael Stenta
29c1eda881 Fix farm_group_members() and farm_group_members_query() so that they only return assets currently in the group. Previously they were loading ALL logs assigning assets to the group, so an asset would appear in the group even if it was moved to a different group. 2017-12-07 17:38:53 -05:00
Michael Stenta
1af21d48b9 Use innerJoin()s where possible. 2017-12-07 17:38:52 -05:00
Michael Stenta
c0c577232b Add dependencies on field_group_easy_responsive_tabs module. 2017-12-05 12:31:47 -05:00
Michael Stenta
380a9f2e15 Add bulk operations to "Group members" View. 2017-11-29 15:51:15 -05:00
Michael Stenta
dc8e0dd7c9 Return the logs created by helper functions (movements, group, inventory, weight). 2017-11-24 21:00:10 -05:00
Michael Stenta
ef6a04614d Use is_numeric() instead of is_int() when checking log timestamps and entity IDs. 2017-11-24 20:59:17 -05:00
Michael Stenta
cdf5f7672e Convert group reference to a Field Collection in Activity and Observation logs. 2017-11-24 20:58:33 -05:00
Michael Stenta
11875dd3d4 Add a validation handler for the "Group" VBO action that checks for circular membership. 2017-11-24 20:58:33 -05:00
Michael Stenta
5a2574dabb Create a form helper function for validating against circular memberships. 2017-11-24 20:58:33 -05:00
Michael Stenta
638589a3c1 Add "Group" VBO action button to all asset Views. 2017-11-24 20:58:33 -05:00
Michael Stenta
1aa05c49a6 Add an action for assigning assets to groups in bulk. 2017-11-24 20:58:33 -05:00
Michael Stenta
6eb6884345 Put inventory and group membership in the right column with location. 2017-11-24 20:58:33 -05:00
Michael Stenta
35b7a77915 Add Group column to all asset Views. 2017-11-24 20:58:33 -05:00
Michael Stenta
627c054105 Add ability to create a new group when adding/editing an asset. 2017-11-24 20:58:33 -05:00
Michael Stenta
5d22d2f0c8 Add a field to asset edit forms for automatically creating a group assignment log. 2017-11-24 20:58:33 -05:00
Michael Stenta
a49812f8bc Add a function for generating a group membership assignment log. 2017-11-24 20:58:33 -05:00
Michael Stenta
98f4dc350c Show View of logs with group membership on assets. 2017-11-24 20:58:33 -05:00
Michael Stenta
e8ee8ec8e8 Add a View of logs with group membership. 2017-11-24 20:58:33 -05:00
Michael Stenta
96c7445aa1 Show an assets current group membership on asset view page. 2017-11-24 20:58:33 -05:00
Michael Stenta
6a684a9a2b Create a function that allows you to get a list of a group's members. 2017-11-24 20:58:33 -05:00
Michael Stenta
1f4e49c504 Show members of a group when viewing a group's page. 2017-11-24 20:58:33 -05:00
Michael Stenta
4b4542c097 Add a View for displaying members of a group. 2017-11-24 20:58:33 -05:00