Summary: | (Optionally) sort lists in OPAC pull down alphabetically instead of ordering by last changed | ||
---|---|---|---|
Product: | Koha | Reporter: | Nicole C. Engard <nengard> |
Component: | Lists | Assignee: | Galen Charlton <gmcharlt> |
Status: | CLOSED WONTFIX | QA Contact: | |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | dcook, fiona.borthwick, katrin.fischer, marjorie.barry-vila, patrick.robitaille |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: |
Description
Nicole C. Engard
2011-08-11 16:56:54 UTC
The lists that display in those instances are generated by the GetRecentShelves subroutine which retrieves (usually 10) shelve ordered by the date last modified: my $query = 'SELECT * FROM virtualshelves'; $query .= $selection; $query .= ' ORDER BY lastmodified DESC'; if ($row_count){ $query .= ' LIMIT ?'; So the top of the list should be the most recently changed. Perhaps it would be better to grab the last 10 most recently changed and reorder the resulting set by title? But why the most recently changed? Why not just a alphabetical list? Patrons don't understand why a list starting with A isn't showing with the other lists starting with A ... and neither do the librarians. (In reply to comment #2) > But why the most recently changed? Why not just a alphabetical list? Because it's too unwieldy and resource-intensive to retrieve all lists on every page Then I'd say the first 10 alphabetical lists - but it's not just up to me. Nicole An argument for leaving it as the 10 most recently modified: If your library has lots of public lists and uses the public lists to provide patrons with frequently-updated information it makes sense for them to be able to see freshly-updated lists. For instance, if a list was used as a bibliography on a popular topic, someone might be happy to know that something new had been added to it. Closing this one due to age and I think Owen's argument is convincing |