Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Jonathan Druart 7af1288b63 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'

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Works as advertised. Improves code.
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
2012-12-06 08:31:57 -05:00
..
acqui Bug 9130 follow up: add statesave cookie and "all" option for parcel drop-down menu 2012-12-05 08:52:55 -05:00
admin Bug 7919: Followup: Fix plural and GetAuthvalueDropbox 2012-12-05 10:10:58 -05:00
authorities Bug 7455: Authority subfields are cloned in the wrong field (follow-up 2) 2012-11-01 09:50:53 -04:00
basket Bug 9073 - Download option from the cart should match the menu button in lists 2012-11-25 18:08:46 -05:00
batch Bug 7760: Add ids and classes to every staff page to help with customizaton (batch, error) 2012-03-22 18:12:24 +01:00
catalogue Bug 8893 - show more information on printout 2012-12-03 06:31:05 -05:00
cataloguing Bug 9154 - On item edit page, highlight row of item being edited 2012-12-02 09:14:53 -05:00
circ Bug 8781: hiding of transfer page when it's useless 2012-12-02 09:27:20 -05:00
errors Bug 2780 - Capitalize strings consistently (Error pages) 2012-04-10 10:03:32 +02:00
help Merge branch 'bug_8945' into 3.12-master 2012-12-04 08:29:26 -05:00
installer Bug 2780 - Capitalize strings consistently (Installer) 2012-04-10 10:03:33 +02:00
labels Bug 8796 - patron cards not starting on designated card 2012-10-05 17:16:01 +02:00
members Merge branch 'bug_2832' into 3.12-master 2012-11-23 11:41:48 -05:00
offline_circ bug 6372: moved background-job.inc to background-job-progressbar.js 2012-05-07 23:00:34 +02:00
patroncards Bug 5184 - Upgrade jQuery to the latest version (staff client) 2012-05-11 11:05:19 +02:00
reports Bug 7896: follow-up: Allow translation of strings 2012-12-02 09:40:46 -05:00
reserve Bug 8181 [REVISED] Replace DynArch calendar widget with jQueryUI version 2012-06-25 18:26:26 +02:00
reviews Bug 8143 [REVISED] Upgrade jQuery tabs to current jQueryUI version 2012-06-10 15:22:58 +02:00
rotating_collections Bug 2780 - Capitalize strings consistently (reserve, review, rotating collections) 2012-04-10 10:04:13 +02:00
serials Bug 8782: Close a subscription 2012-11-30 08:14:24 -05:00
services Bug 8637: Lack of control on mandatory in orderreveive.tt 2012-08-31 13:48:52 +02:00
sms Bug 2780 - Capitalize strings consistently - various 2012-04-10 10:04:16 +02:00
suggestion Bug 8440: Dates does not appear in suggestions management 2012-09-03 17:52:18 +02:00
tags Bug 8707 - tags always say approved 2012-10-31 16:48:24 -04:00
test bug 6372: moved background-job.inc to background-job-progressbar.js 2012-05-07 23:00:34 +02:00
tools Merge branch 'bug_8986' into 3.12-master 2012-11-23 13:35:24 -05:00
virtualshelves Bug 9167: Standardize the sort field copyrightdate for lists 2012-12-06 08:31:57 -05:00
z3950 Bug 2780 - Capitalize strings consistently - various 2012-04-10 10:04:16 +02:00
about.tt Merge branch 'bug_8641' into 3.12-master 2012-12-02 16:36:16 -05:00
auth.tt Bug 2780 - Capitalize strings consistently (home, about, login) 2012-04-10 11:10:02 +02:00
intranet-main.tt Bug 9008 [Follow-up] Warn if librarian logged-in with mysql/admin account 2012-11-05 09:13:47 -05:00