[Koha-bugs] [Bug 35198] Sort database column names alphabetically on automatic item modification page
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Oct 31 14:54:25 CET 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35198
--- Comment #1 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 158120
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=158120&action=edit
Bug 35198: Sort database column names alphabetically on automatic item
modification page
This patch modifies the automatic item modification by age page so that
the rule entry form sorts <select>s alphabetically, making it easier to
find the entry you need.
The [% FOR field IN... %] directives now include the "sort" method, e.g.
[% FOR field IN agefields.sort %]
To test, apply the patch and go to Cataloging -> Item modifications by
age
- Click the "Add rules" button, then the "Add rule" button.
- Check the "Age field," "Conditions," and "Substitutions" dropdowns to
confirm that the choices are listed alphabetically.
- Fill in the form and save the rule.
- Go back and edit the rule you created. Check that the dropdowns are
still correct.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list