Koha/koha-tmpl/intranet-tmpl/prog/en
Owen Leonard fd25828048
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>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-11-08 11:41:17 -03:00
..
data Bug 34658: Update to 007 value builder to reflect changes brought by Update 33 (Nov. 2021) 2023-10-09 11:41:37 -03:00
includes Bug 34404: Fix inconsistencies in Budgets and funds page titles, breadcrumbs, and headers 2023-11-08 09:58:57 -03:00
modules Bug 35198: Sort database column names alphabetically on automatic item modification page 2023-11-08 11:41:17 -03:00
xslt Bug 34020: (QA follow-up) Indentation fix 2023-10-25 10:35:34 -03:00