[koha-commits] main Koha release repository branch master updated. v3.14.00-814-g97bf5f2
Git repo owner
gitmaster at git.koha-community.org
Sat Apr 19 19:16:51 CEST 2014
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 97bf5f258a53e7d4fd89b29dc57f74012e9421c4 (commit)
via cc374936024eb5c24f8dffc1bb4b213055ea1fb2 (commit)
via 9f293be7e6570779586573b7925e631320e9cb60 (commit)
via 3950a9c9eb72fa8c116b0ed521ee2bc63880be71 (commit)
via 92d021f989227fa798b13f63abae4ebf53744d17 (commit)
from 3ba6d35c8999d7133e7f5519ff3128af56a6686c (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 97bf5f258a53e7d4fd89b29dc57f74012e9421c4
Author: Galen Charlton <gmc at esilibrary.com>
Date: Sat Apr 19 17:40:35 2014 +0000
Bug 10986: (follow-up) improve POD
Signed-off-by: Galen Charlton <gmc at esilibrary.com>
commit cc374936024eb5c24f8dffc1bb4b213055ea1fb2
Author: Galen Charlton <gmc at esilibrary.com>
Date: Sat Apr 19 17:34:34 2014 +0000
Bug 10986: (follow-up) add unit tests for getLanguages() and language filter
Signed-off-by: Galen Charlton <gmc at esilibrary.com>
commit 9f293be7e6570779586573b7925e631320e9cb60
Author: Galen Charlton <gmc at esilibrary.com>
Date: Sat Apr 19 17:17:45 2014 +0000
Bug 10986: DBRev 3.15.00.034
Signed-off-by: Galen Charlton <gmc at esilibrary.com>
commit 3950a9c9eb72fa8c116b0ed521ee2bc63880be71
Author: Jonathan Druart <jonathan.druart at biblibre.com>
Date: Thu Nov 7 14:24:07 2013 +0100
Bug 10986: QA followup - fix various issues
This patch fixes some qa issues:
FAIL C4/Languages.pm
FAIL critic
# Variables::ProhibitConditionalDeclarations: Got 1 violation(s).
FAIL installer/data/mysql/updatedatabase.pl
FAIL forbidden patterns
forbidden pattern: merge marker (<<<<<<<) (line 7157)
FAIL installer/data/mysql/sysprefs.sql
FAIL sysprefs_order
Not blocker: Sysprefs AdvancedSearchLanguages is bad placed (see bug 10610)
Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
Signed-off-by: Galen Charlton <gmc at esilibrary.com>
commit 92d021f989227fa798b13f63abae4ebf53744d17
Author: blou <philippe.blouin at inlibro.com>
Date: Wed Oct 2 15:05:38 2013 -0400
Bug 10986: add system preference to limit the list of languages in advanced search
In Advanced Search, the list of available language is long and will only
get longer. For a library offering books in 2-3 languages, that is
offering too many options to the user (most of the small libraries we
deal with only offer documents in two languages).
Code changes:
Languages.pm: Extract getAllLanguages to make a more customizable
getLanguages (have getAllLanguage call it, so rest of codebase is
oblivious to the change). Build array returned based on system pref if
corresponding argument is set.
search.pl and opac-search.pl: call getLanguages instead of
getAllLanguages.
TESTING
0) All language codes are iso 639-2 (three characters)
1) in OPAC, Advanced search, open Language box, acknowledge 30+ items.
2) in Intranet, go to system preferences AdvancedSearchLanguages,
enter "ita|eng"
3) back in OPAC, refresh screen, acknowledge only Italian and English
are listed.
4) in Intranet, click Search then click "More options" to make the
Language box appear. Acknowledge limited options.
5) Regression Test: Back to the preference, empty the field then save.
Go back to the OPAC and Intranet search, refresh the page, then the
Language drop-box will now contain 30+ items.
Signed-off-by: Mathieu Saby <mathieu.saby at univ-rennes2.fr>
Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
Signed-off-by: Galen Charlton <gmc at esilibrary.com>
-----------------------------------------------------------------------
Summary of changes:
C4/Languages.pm | 32 +++++++++++++++++---
catalogue/search.pl | 4 +--
installer/data/mysql/sysprefs.sql | 1 +
installer/data/mysql/updatedatabase.pl | 10 ++++--
.../en/modules/admin/preferences/searching.pref | 6 ++++
kohaversion.pl | 2 +-
opac/opac-search.pl | 4 +--
t/db_dependent/Languages.t | 24 +++++++++++++--
8 files changed, 69 insertions(+), 14 deletions(-)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list