Koha-clms/installer/data/mysql
Owen Leonard d7d39aaebe Bug 8657 - Default sort by call number does not work
If you choose to sort search results in the OPAC or staff
client by call number by default, the wrong value will
be saved by the system preferences editor. It should be
"call_number" instead of "callnumber." This patch
corrects the pref file and updates the database in cases
where defaultSortField or OPACdefaultSortField are
set to the incorrect value for call number sort.

To test: Set defaultSortField and/or OPACdefaultSortField
to "call number" and perform a search. Results will be
sorted by relevance. Apply the patch, update the database,
and search again. Results should now be sorted by call number.

Signed-off-by: Liz Rea <wizzyrea@gmail.com>
with the caveat that this will not fix the issue unless the sort order is first set to descending and back to ascending per bug 8012.

However, with the sort order set to a proper sort value, this patch does fix the issue.

Conflicts:

	installer/data/mysql/updatedatabase.pl

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
2012-08-30 09:40:14 +12:00
..
atomicupdate Merge remote-tracking branch 'kc/master' into merged_5549 2012-03-22 09:36:55 +13:00
de-DE Bug 7984 [SIGNED-OFF] - Fix the upload_local_cover_images permission 2012-05-15 08:43:34 +12:00
en Bug 2399: All status fields in the item edit interface offer two blank/null entries per dropdown instead of one 2012-05-08 09:46:58 +12:00
es-ES bug 8022 follow-up, missing permission in spanish 2012-05-15 08:54:31 +12:00
fr-FR Bug 7855 - marcflavour files changed to set the maxlength field into fresh installs. Include NORMARC in updatedatabase to change maxlength. 2012-04-19 17:20:13 +02:00
it-IT Bug 7861 : Update of italian sql files for 3.8 2012-04-19 17:40:39 +02:00
nb-NO Bug 7984 [SIGNED-OFF] - Fix the upload_local_cover_images permission 2012-05-15 08:43:34 +12:00
pl-PL Bug 2399: All status fields in the item edit interface offer two blank/null entries per dropdown instead of one 2012-05-08 09:46:58 +12:00
ru-RU Bug 2399: Follow up removing MySQLisms from ru-RU and uk-UA sample files 2012-05-08 09:47:30 +12:00
uk-UA Bug 2399: Follow up removing MySQLisms from ru-RU and uk-UA sample files 2012-05-08 09:47:30 +12:00
backfill_statistics.pl Bug 5370: Fix all the references to koha.org 2010-11-08 09:41:49 +13:00
kohastructure.sql Revert "Bug 5981 - OPAC: Add limits to search history" 2012-07-08 06:15:36 +12:00
labels_upgrade.pl Bug 2505 - Add commented use warnings where missing in the installer/ directory 2010-04-21 20:26:28 +12:00
patroncards_upgrade.pl Bug 2505 - Add commented use warnings where missing in the installer/ directory 2010-04-21 20:26:28 +12:00
sample_only_param_tables.sql
…
sysprefs.sql Bug 7153 - Show Open Library as Search Target in "More Searches" in OPAC detail page 2012-07-27 09:48:34 +12:00
update22to30.pl Bug 8289 Upgrading from 2.2 does not work anymore 2012-06-26 09:31:45 +12:00
updatedatabase.pl Bug 8657 - Default sort by call number does not work 2012-08-30 09:40:14 +12:00