[Koha-bugs] [Bug 9167] The sort field copyrightdate is not standardized

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Nov 29 16:38:05 CET 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9167

--- Comment #1 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 13771
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=13771&action=edit
Bug 9167: Standardize the sort field copyrightdate for lists

How to reproduce the issue:
Create a list at the OPAC and select the sort field 'year'. Go to the
list management page at the intranet: the sort field "copyrightdate" is
not selected by default.

How to test this patch:
Check the issue is not still present with this patch.
Create several lists at the OPAC with different sort field.
Check results are consistent on both interfaces.
Check the selected sort field is selected on the edit page.
Check there is no regression.

What this patch does:
- change the way to send the selected sort field to the templates
- remove the select tests on the new list page (useless)
- the copyrightdate sortfield is named "copyrightdate" everywhere
- update your database : set virtualshelves.sortfield = 'copyrightdate'
  if virtualshelves.sortfield = 'year'

http://bugs.koha-community.org/show_bug.cgi?id=9167

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list