drupalgin
|
0e5a226627
|
Issue #2950316 by drupalgin: Fixed coding standards
|
2018-04-07 12:40:16 -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
|
4c791db2a4
|
Update farm_group functions to use 'archived' instead of 'active'.
|
2018-01-31 16:03:48 -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
|
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
|
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
|
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
|
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
|
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
|
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
|
4e48221726
|
When a log form with a group reference field is submitted validate that assets are referenced and they don't create a circular membership.
|
2017-11-24 20:58:33 -05:00 |
Michael Stenta
|
0731214b3d
|
Add a function to check for circular group membership.
|
2017-11-24 20:58:33 -05:00 |
Michael Stenta
|
e1a47a0691
|
Add functions for querying the membership of an asset (similar to farm_movement's location code).
|
2017-11-24 20:58:33 -05:00 |
Michael Stenta
|
71a2662eb7
|
Implement hook_farm_ui_entities() to describe the Group asset type to the Farm UI module.
|
2017-11-24 20:58:33 -05:00 |
Michael Stenta
|
86768afbc3
|
Initial commit of Farm Group module: provide a basic Group asset type.
|
2017-11-24 20:58:33 -05:00 |