[koha-commits] main Koha release repository branch master updated. v3.18.00-361-gc29a53e
Git repo owner
gitmaster at git.koha-community.org
Fri Feb 20 15:45:16 CET 2015
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 c29a53ea20d668f135c62abbc7dda1bf282be8f0 (commit)
via bf89e306a86c440a3296fc89436ad5e854ea4f34 (commit)
via c52bc9756a5fa1e4f6bba7ce5c58124f150c5efc (commit)
from 8770d37de70ea935702139ca955b4dd9d4ff38fa (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 c29a53ea20d668f135c62abbc7dda1bf282be8f0
Author: Zeno Tajoli <z.tajoli at cineca.it>
Date: Sun Feb 15 17:40:06 2015 +0100
Bug 12948: Use word indexing for language (MARC21)
This patch is for MARC21. To test:
1)Setup a site with
MARC21
2)Insert 2 record, one lang A in 041 and 008 pos
35-37 an other with lang A in 041 and lang B in 008 pos
35-37
3)Index them
4)Search in advanced search with filter
'languare' for lan A. You will see 2 records
5)Search in
advanced search with filter 'languare' for lan B. You will
see 0 records
6)Apply the patch
7)Full reindex
8)Search in advanced search
with filter 'languare' for lan B. You will see 1 records
http://bugs.koha-community.org/show_bug.cgi?id=12948
Signed-off-by: Magnus Enger <magnus at enger.priv.no>
I have *not* actually tested this, but the changes are identical to the ones
done for NORMARC, which I have tested, so I think it is safe to sign off. If
anyone disagrees, please reset the bug to "Needs signoff".
Signed-off-by: Tomas Cohen Arazi <tomascohen at gmail.com>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen at gmail.com>
commit bf89e306a86c440a3296fc89436ad5e854ea4f34
Author: Zeno Tajoli <z.tajoli at cineca.it>
Date: Sun Feb 15 17:54:48 2015 +0100
Bug 12948: Use word indexing for language (NORMARC)
This patch is for Normarc
Same test plan as patch for MARC21, except you need a setup with Normarc.
http://bugs.koha-community.org/show_bug.cgi?id=12948
Signed-off-by: Magnus Enger <magnus at enger.priv.no>
- Added a record with "bul" in 008pos35-37
- Verified that this did not turn up in an advanced search with language =
Bulgarian
- Applied the patch
- I was testing on a gitified install, so I had to copy the patched index file
to the right location with this command:
sudo cp etc/zebradb/marc_defs/normarc/biblios/biblio-zebra-indexdefs.xsl \
/etc/koha/zebradb/marc_defs/normarc/biblios/biblio-zebra-indexdefs.xsl
- Did a full reindex
- Verified that the record *did* turn up in an advanced search with language =
Bulgarian
- Signing off! Thanks Zeno!
Signed-off-by: Tomas Cohen Arazi <tomascohen at gmail.com>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen at gmail.com>
commit c52bc9756a5fa1e4f6bba7ce5c58124f150c5efc
Author: Jonathan Druart <jonathan.druart at biblibre.com>
Date: Tue Feb 10 11:34:10 2015 +0100
Bug 13690: use Koha::Schema only when it's needed
This patch makes Koha::Database lazy-load the whole Koha::Schema libraries.
It doesn't seem to have negative effects, and makes scripts not using
DBIx::Class notably faster [1].
Regards
[1] If you read the DBIx::Class::Schema docs, it explains that it it uses
Module::Find to load all schema files...
http://search.cpan.org/~ribasushi/DBIx-Class-0.082810/lib/DBIx/Class/Schema.pm#load_namespaces
Signed-off-by: Tomas Cohen Arazi <tomascohen at gmail.com>
Happy to sign this one. The only extra comment would be that DBIx::Class
performance issues remain after this patch, but is being handled in a
different bug.
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
-----------------------------------------------------------------------
Summary of changes:
Koha/Database.pm | 2 +-
etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml | 4 ++--
etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl | 2 +-
etc/zebradb/marc_defs/normarc/biblios/biblio-koha-indexdefs.xml | 4 ++--
etc/zebradb/marc_defs/normarc/biblios/biblio-zebra-indexdefs.xsl | 2 +-
5 files changed, 7 insertions(+), 7 deletions(-)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list