Hi,
i have twelve items, each item has it's own permission. So when reserving, the dropdown list should show only my twelve items, not the twelve items plus the twelve optgroup html tag. Is it possible?

(i've tried setting items as resources and bucktes, but either doesn't fit)

Thanks

Comments

backslash856 created an issue.

darrick’s picture

Add a term to the "MERCI Equipment Grouping" taxonomy. I.e. "Equipment"

Edit each reservable content_type and under the MERCI settings select the term you just added.

Do this for all your reservable content_types and select the same group.

This should get things down to everything being listed under only one optgroup.

Hopefully this should get you close enough. Beyond that to have no optgroups you'll need to implement hook_node_form and rewrite the options.

https://www.drupal.org/node/1043528