Closed ironjan closed 9 years ago
Idea: Save allergens as a bitmask, "1001..." means that the menu contains "A1,A4". Selecting displayed menus can then be done via bit mask and wildcards, i.e. "I don't want to eat A4" is encoded as "<> _1...".
AllergenArrays are now persisted as a string following the following patterns:
For easier filtering of menus, the badges and allergens should be moved from a single collection field to either another table or single boolean fields. Best method has to be investigated.