Summary: | Sort pulldown for messages in alphabetical order | ||
---|---|---|---|
Product: | Koha | Reporter: | Nicole C. Engard <nengard> |
Component: | Templates | Assignee: | Owen Leonard <oleonard> |
Status: | CLOSED FIXED | QA Contact: | Bugs List <koha-bugs> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | chris, koha.sekjal |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
URL: | /cgi-bin/koha/circ/circulation.pl?borrowernumber=53# | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Attachments: |
not in order
Proposed fix |
The values in the menu come straight out of GetAuthorisedValues(), which sorts its results by "category, lib, lib_opac." Rather than trying to re-sort the data in circulation.pl I wonder if we should just change the output in the template to display the note ('lib', the description) itself rather than the authorised_value? The column size in the database is the same (varchar 80) for both authorised_value and lib, so it's not like the description is going to get too big, compared to the authorised_value, to show in the drop-down. I'm A-OK with that, I would like the description to be longer though since we're using 'description' for a 'note' which I often need more than 80 characters for. But if we put the description in and truncate it after X characters maybe we can put the code in there too in parens or something if the code is necessary to some libraries to identify the notes. Nicole Created attachment 4674 [details] [review] Proposed fix This patch implements only the display of the description on the assumption that at a maximum of 80 characters it will never need to be truncated. I'd be happy to modify this if others feel that libraries will miss being able to see the authorised_value. Template only change, easy to read, marking as Passed QA Pushed, please test |
Created attachment 4673 [details] not in order It would be nice if the pull down menu with the BOR_NOTES on the patron check out screen were in alpha order.