Movement Quick Forms - Group Selection Filtering

Hey,

Is it possible to remove the archived groups from the Group/animal selection on the movement quick form.

If some one could point me in the right direction on how to make this change it would be very much appreciated as its really making it hard to use now that i have had a few groups archived in the system.

Cheers

1 Like

Ah good question @Rxb ! Looking at the code it doesn’t appear that any filtering of archived assets is taking place. If you are interested in exploring this yourself, a pull request would be welcome!

The quick form for moving animals uses the “asset autocomplete” path to present this list: farmOS/farm_livestock.farm_quick.move.inc at 7.x-1.x · farmOS/farmOS · GitHub

The page callback that performs the logic for that autocomplete is here: farmOS/farm_asset.module at 7.x-1.x · farmOS/farmOS · GitHub

Awesome thank you, I will look into it and see what i can do.

Cheers

1 Like