[koha-commits] main Koha release repository branch master updated. v16.05.00-950-gbd7e4fb
Git repo owner
gitmaster at git.koha-community.org
Tue Sep 27 15:07:44 CEST 2016
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".
The branch, master has been updated
via bd7e4fb0d9fb90050a908f4162dfc0351aad1320 (commit)
from 19acaedf10c9e5180b040b0bafef4f3457bd6221 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit bd7e4fb0d9fb90050a908f4162dfc0351aad1320
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Thu May 19 09:42:48 2016 +0100
Bug 16552: Add the ability to change the default holdings sort
This new enhancement will add the ability to change the default holdings
sort on OPAC displays to be by library, instead of item type.
This patch adds a new pref OPACHoldingsDefaultSortField with 3 different
possible values:
- Item type
- Home library
- Holding library
Note that if OpacLocationBranchToDisplay is set not to display home libraries,
unexpected behaviors might happen if OPACHoldingsDefaultSortField is set to
"Home library", same for "Holding library".
Test plan:
- Confirm that the default value for OPACHoldingsDefaultSortField is
'first column' after executing the DB entry and that there is no
change in the behavior (first column is used to sort the holdings
table on the detail page).
- Set OpacLocationBranchToDisplay to both and play with the different
values of OPACHoldingsDefaultSortField
=> Confrm that the default column used to sort the table is correctly
changed
- Set the pref SeparateHoldings on
=> Confirm that both tables (Holdings and other holdings) are sorted using
the OPACHoldingsDefaultSortField value.
Sponsored-by: University of the Arts London
Signed-off-by: Claire Gravely <c.gravely at arts.ac.uk>
Signed-off-by: Katrin Fischer <katrin.fischer at bsz-bw.de>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
-----------------------------------------------------------------------
Summary of changes:
installer/data/mysql/atomicupdate/bug_16552.sql | 2 ++
installer/data/mysql/sysprefs.sql | 1 +
.../prog/en/modules/admin/preferences/opac.pref | 7 +++++++
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt | 14 +++++++++++++-
4 files changed, 23 insertions(+), 1 deletion(-)
create mode 100644 installer/data/mysql/atomicupdate/bug_16552.sql
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list