https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35198 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #158176|0 |1 is obsolete| | --- Comment #4 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Created attachment 158225 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=158225&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. Signed-off-by: Andrew Auld <andrew.auld@ptfs-europe.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> -- You are receiving this mail because: You are watching all bug changes.