[koha-commits] main Koha release repository branch master updated. v18.05.00-1517-g5f7a24f
Git repo owner
gitmaster at git.koha-community.org
Fri Nov 16 14:20:15 CET 2018
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 5f7a24fdfe0eb0bc57ddc4714e59b8d7dda76177 (commit)
via 4e78070b80a24410de57e7b0c6da4db6bd2e3a7e (commit)
via 43d8946d5934151d38dc95b7162674dc7e95efb4 (commit)
via d5d94d320c9598e00eacafda730bb6aae0cff506 (commit)
via 1e675e20e928e57ef1ffa7603e395b093adf0481 (commit)
via 93d2c67b4116e72d36d2934c592143cb76aa9f61 (commit)
via 2517147c301841b00658f2eed97ae1e4a829a892 (commit)
via 119653a3a133d5bb138234d2e45a13f8a7e447fe (commit)
via 867f88076eb47c434c3edf6f7903238b5a465cdb (commit)
via b9ed7699e3da4966681a21c85bc78d99123d1681 (commit)
via 461a6f53b85becbefb18c0cb9356384a479aa9f1 (commit)
via fab9936ddb68e15cae356cb4c52a3be806948f83 (commit)
via 3475670881e75f47bc6b7e21f0563162e428b831 (commit)
via cd250dae36b8dd03cbfa1b2ab691202a51daa58b (commit)
via cde7a8e72c04ad31bdda66908e5e0482276bdcb8 (commit)
via a31068e330a4afe5689381bab3a86a386684a475 (commit)
via 99013d6896fc591a7733568bcb7044cad399a7c5 (commit)
via f7afe237b13eda1644e2cb4e1137ad8680348a67 (commit)
via a353b513cf5bc912f246a25bd4430eec0d1fa118 (commit)
via f03a4ca852d361f299057cb7dac4e53ef759bff3 (commit)
via 9c02633ee7c56cf2c6e5992b98c4342363432d9c (commit)
via 6ef2233093df5c82f5fea1ec36bb621be0f4c31a (commit)
via aece4f62ea6c37b0dafa9584038571d0a2d49e43 (commit)
via 5a0f2821a2ff104781c1ff05a80957720ae46c43 (commit)
via 866bbd817e93f94308854987a45d9142c23d2414 (commit)
via da22f3cc33f747166e8ef13b82c35a2c1dd2be26 (commit)
via 2f4b141892436f7a51c4b7451b519bb0b8c9229f (commit)
via 6d47d82ac9b1a5f2ced19df3008697cc5117f491 (commit)
via 1d29d0e4497eedfdc0515a636ed65c2be68ba081 (commit)
via cab8a55c28db3f0a9fd52a05d9d18a0fd9ebc115 (commit)
via d22b6392dee50e8fa6e614b0b190e09f913e6445 (commit)
via 1e1ca322d35d26e7158faeb34be3aaeada25d13a (commit)
via d6139eaad7763505ace3f3c4ee069f70f4e6de7f (commit)
via 53cf97bb2dc213936f8787f907fb79d3dc849b0b (commit)
via fc0abee5586beb2d003c2d02842c90ca9bb29bd2 (commit)
via 5389ffa38ae72548d30cb75598ae11cef2ef10db (commit)
from 505e10585ce8683af0862027aca8177b5facf3df (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 5f7a24fdfe0eb0bc57ddc4714e59b8d7dda76177
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Wed Nov 14 15:11:07 2018 -0300
Bug 21567: Remove Koha_ExternalContent_RecordedBooks.t
This patch removes this file. The included tests are similar to those in
the db_dependent section, with the difference that this have some things
mocked. But the tests still require name resolution and connecting to
the RB servers. This situation breaks package building without any
noticeable gain.
The feature could be better tested by mocking WebService::ILS calls (so
no external world contact), but it belongs to a separate bug report.
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Mirko Tietgen <mirko at abunchofthings.net>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit 4e78070b80a24410de57e7b0c6da4db6bd2e3a7e
Author: Mirko Tietgen <mirko at abunchofthings.net>
Date: Fri Nov 16 00:07:14 2018 +0100
Bug 21567: Move Koha_ExternalContent_OverDrive.t to db_dependent
This tests pass on the build step only because they are skipped, due to
the absense of Test::DBIx::Class library.
It makes sense for them to be in the db_dependent directory, as they are
not completely mocked (re: external world interactions).
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit 43d8946d5934151d38dc95b7162674dc7e95efb4
Author: Katrin Fischer <katrin.fischer.83 at web.de>
Date: Sat Nov 3 08:29:39 2018 +0000
Bug 21815: Rephrase HidePersonalPatronDetailOnCirculation
Makes it a little easier to translate, also fixes whitespace and capitalization.
Signed-off-by: Devinim <kohadevinim at devinim.com.tr>
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit d5d94d320c9598e00eacafda730bb6aae0cff506
Author: Katrin Fischer <katrin.fischer.83 at web.de>
Date: Wed Nov 14 22:17:13 2018 +0100
Bug 21839: Fix capitalization of "Print Label" link
Fixed the spelling to follow Koha's capitalization rules to
"Print label".
To test:
- Edit an item in the GUI
- Look at the Actions pull down in the table above
the item form
Signed-off-by: Andreas Roussos <arouss1980 at gmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit 1e675e20e928e57ef1ffa7603e395b093adf0481
Author: Nick Clemens <nick at bywatersolutions.com>
Date: Fri Nov 16 12:57:46 2018 +0000
Bug 21516: Compiled CSS
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit 93d2c67b4116e72d36d2934c592143cb76aa9f61
Author: Owen Leonard <oleonard at myacpl.org>
Date: Tue Oct 9 14:34:55 2018 +0000
Bug 21516: (ALTERNATE) Request notes CSS bug makes them unreadable
This alternate patch makes multiple markup corrections to the ILL
requests templates. It reformats the request details to use a list,
making it consistent with similar interfaces (see patron details,
baskets in acquisitions). The display of notes has been changed so that
it uses a paragraph tag instead of <pre>.
To test, apply the patch and rebuild the staff client CSS.
- Manage an ILL request which has staff and OPAC notes. Everything
should look readable.
- Running validation on the HTML should only return warnings coming from
global include files (js_includes.inc).
Signed-off-by: Andrew Isherwood <andrew.isherwood at ptfs-europe.com>
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit 2517147c301841b00658f2eed97ae1e4a829a892
Author: Owen Leonard <oleonard at myacpl.org>
Date: Thu Nov 15 13:39:33 2018 +0000
Bug 21838: Wrong alignment of instructors in course reserves
This patch adds CSS to course reserve pages so that multiple instructors
on a course are displayed well.
To test, apply the patch and:
- Add or edit a course.
- Test adding and removing instructors, saving, and adding and removing
again.
- View a course with multiple instructors and confirm that they are
displayed well.
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Awesome, Owen :-D
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit 119653a3a133d5bb138234d2e45a13f8a7e447fe
Author: Nick Clemens <nick at bywatersolutions.com>
Date: Fri Nov 16 12:51:27 2018 +0000
Bug 20598: Update number of tests
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit 867f88076eb47c434c3edf6f7903238b5a465cdb
Author: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Date: Fri Nov 16 10:37:55 2018 +0100
Bug 20598: (QA follow-up) Tiny fixes
[1] Correct POD for _FixOverduesOnReturn
Is called by AddReturn, AddRenewal and LostItem.
Also tested in Circulation.t btw
[2] $dbh is not used in _FixOverduesOnReturn
[3] Moving all parameters to the first line.
[4] Variable $uquery is not used too.
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit b9ed7699e3da4966681a21c85bc78d99123d1681
Author: Kyle M Hall <kyle at bywatersolutions.com>
Date: Mon Nov 5 13:31:40 2018 +0000
Bug 20598: Unit test
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit 461a6f53b85becbefb18c0cb9356384a479aa9f1
Author: Kyle M Hall <kyle at bywatersolutions.com>
Date: Tue Apr 17 14:11:41 2018 -0400
Bug 20598: Accruing fines not closed out by longoverdue.pl if WhenLostForgiveFine is not enabled
Test Plan:
1) Ensure WhenLostForgiveFine is disabled
2) Create an overdue with a fine
3) Mark it lost with longoverdue.pl
4) Note it is still marked as an accruing fine
5) Apply this patch
6) Repeat steps 1-3
7) Note it is no longer an accruing fine!
Signed-off-by: Maryse Simard <maryse.simard at inlibro.com>
Followed the test plan and it works.
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit fab9936ddb68e15cae356cb4c52a3be806948f83
Author: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Date: Fri Nov 16 10:04:55 2018 +0100
Bug 18677: (QA follow-up) Trivial fixes to Chargelostitem.t
Kind of funny that we did not touch this test here. But it passed!
Trivial fixes:
[1] Typo precessfee
[2] Typo the linked
[3] Add rollback
Test plan:
Run t/db_dependent/Circulation/Chargelostitem.t
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit 3475670881e75f47bc6b7e21f0563162e428b831
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Thu Nov 1 11:47:47 2018 -0300
Bug 18677: Remove new issue_id param from charlostitem
We have the itemnumber no need to pass the issue_id, we can retrieve it
from chargelostitem
Signed-off-by: Michal Denar <black23 at gmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit cd250dae36b8dd03cbfa1b2ab691202a51daa58b
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Thu Nov 1 11:47:16 2018 -0300
Bug 18677: Make the tests pass
Signed-off-by: Michal Denar <black23 at gmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit cde7a8e72c04ad31bdda66908e5e0482276bdcb8
Author: Kyle M Hall <kyle at bywatetsolutions.com>
Date: Wed Apr 11 14:08:57 2018 -0400
Bug 18677: issue_id is not added to accountlines for lost item fees
Test Plan:
1) Apply this patch
2) prove t/db_dependent/Accounts.t
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Michal Denar <black23 at gmail.com>
[EDIT:]
Patch should have increased the number of tests obviously.
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit a31068e330a4afe5689381bab3a86a386684a475
Author: Andrew Isherwood <andrew.isherwood at ptfs-europe.com>
Date: Wed Nov 14 16:08:32 2018 +0000
Bug 21835: Fix display of request ID
We now populate the id_prefix property in the API response. It turns out
that explicitly casting to a string wasn't necessary as JS does "the
right thing" when concatenating a string and an integer
Test plan:
- Before applying the patch view the ILL requests table
- TEST: Observe that the Request number column displays as NaN
- Apply the patch
- Refresh the page
- TEST: Observe that the request number now displays correctly
- Add the following block to your koha-conf.xml:
<branch>
<code>**The code of a branch that has an ILL request attached to
it**</code>
<prefix>YAY</prefix>
</branch>
- Refresh the page
- TEST: Observe the request made on the branch that you specified in the
config are now prefixed with "YAY-"
Signed-off-by: Owen Leonard <oleonard at myacpl.org>
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit 99013d6896fc591a7733568bcb7044cad399a7c5
Author: Katrin Fischer <katrin.fischer.83 at web.de>
Date: Thu Nov 1 13:01:48 2018 +0000
Bug 21796: Don't unlock checkouts if restriction exists but fines are below limit
The checkout form will be removed if various conditions are
met: Restrictions, a fine above noissuescharge etc.
Bug 19933 changed the conditions, so a restriction will no longer
block checkouts, if the fines are below the set limit.
To test:
- Add a restriction
- Confirm the checkouts form is replaced by a message
- Add a fine below the noissuescharge limit
- Confirm that the form reappears
- Apply the patch
- Check that the checkout form is gone now
- Remove restriction - form should reappear
- Add to the fine, so it's above the limit
- Form should disappear
Signed-off-by: Pierre-Marc Thibault <pierre-marc.thibault at inLibro.com>
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit f7afe237b13eda1644e2cb4e1137ad8680348a67
Author: Nick Clemens <nick at bywatersolutions.com>
Date: Fri Nov 16 12:33:43 2018 +0000
Bug 21814: Compiled CSS
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit a353b513cf5bc912f246a25bd4430eec0d1fa118
Author: Owen Leonard <oleonard at myacpl.org>
Date: Thu Nov 15 17:20:52 2018 +0000
Bug 21814: (follow-up) System preferences save button can be hidden by language menu
This follow-up implements the same change by defining a variable to be
used as the minimum height of the language footer navbar. A calculation
is done on this value to set the bottom margin of the main area of the
page.
To test, apply the patch and rebuild the staff client CSS. Clear your
browser cache if necessary. View the system preferences page again and
confirm that the bug is still fixed.
Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit f03a4ca852d361f299057cb7dac4e53ef759bff3
Author: Owen Leonard <oleonard at myacpl.org>
Date: Mon Nov 12 19:07:12 2018 +0000
Bug 21814: System preferences save button can be hidden by language menu
This patch modifies the staff client CSS to give pages enough of a
bottom margin that the language footer will not obscure controls
appearing at the bottom of the page.
To test, apply the patch and regenerate the staff client CSS. You must
have one or more translations installed and enabled.
StaffLangSelectorMode should be set to display the language menu in the
footer.
Go to Administration and search for 'opac.' Scroll to the bottom of the
page and confirm that the last submit button is not hidden by the
language menu.
Signed-off-by: Claire Gravely <claire.gravely at bsz-bw.de>
Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit 9c02633ee7c56cf2c6e5992b98c4342363432d9c
Author: Nick Clemens <nick at bywatersolutions.com>
Date: Fri Nov 16 12:31:51 2018 +0000
Bug 20244: DBRev 18.06.00.061
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit 6ef2233093df5c82f5fea1ec36bb621be0f4c31a
Author: Nick Clemens <nick at bywatersolutions.com>
Date: Fri Nov 16 12:06:31 2018 +0000
Bug 20244: Pod fixes
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit aece4f62ea6c37b0dafa9584038571d0a2d49e43
Author: Ere Maijala <ere.maijala at helsinki.fi>
Date: Mon Jul 2 16:04:05 2018 +0300
Bug 20244: Add alt script indexing and fix sort field indexing
https://bugs.koha-community.org/show_bug.cgi?id=20244
Test plan:
1. Add a record with alternate script fields in 880 (sample attached in the bug).
2. Make sure the the record can be found e.g. with the alternate script title.
3. Add a record with multiple authors.
4. Check that in the index there is only a single author__sort field.
Signed-off-by: Brendan Gallagher <brendan at bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit 5a0f2821a2ff104781c1ff05a80957720ae46c43
Author: Ere Maijala <ere.maijala at helsinki.fi>
Date: Mon Jul 2 15:55:10 2018 +0300
Bug 20244: Improve Elasticsearch ISBN indexing
https://bugs.koha-community.org/show_bug.cgi?id=20244
Test plan:
1. Add a record with an ISBN-10 or ISBN-13 that can be converted to ISBN-10 (e.g. 1-56619-909-3).
2. Verify that the record can be found by searching for "1-56619-909-3", "1566199093", "978-1-56619-909-4" and "9781566199094".
Signed-off-by: Brendan Gallagher <brendan at bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit 866bbd817e93f94308854987a45d9142c23d2414
Author: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Date: Tue Nov 13 11:23:11 2018 +0000
Bug 19893: (QA follow-up) Convert atomicupdate to .perl
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit da22f3cc33f747166e8ef13b82c35a2c1dd2be26
Author: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Date: Tue Nov 13 11:11:04 2018 +0000
Bug 19893: (QA follow-up) Spelling correction in POD
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit 2f4b141892436f7a51c4b7451b519bb0b8c9229f
Author: David Gustafsson <david.gustafsson at ub.gu.se>
Date: Mon Nov 5 15:00:21 2018 +0100
Bug 19893: Increase test coverage
Sponsored-by: Gothenburg University Library
Signed-off-by: Ere Maijala <ere.maijala at helsinki.fi>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit 6d47d82ac9b1a5f2ced19df3008697cc5117f491
Author: David Gustafsson <david.gustafsson at ub.gu.se>
Date: Thu Nov 1 15:47:12 2018 +0100
Bug 19893: Add code review fixes
Sponsored-by: Gothenburg University Library
Signed-off-by: Ere Maijala <ere.maijala at helsinki.fi>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit 1d29d0e4497eedfdc0515a636ed65c2be68ba081
Author: David Gustafsson <david.gustafsson at ub.gu.se>
Date: Mon Oct 22 11:30:17 2018 +0200
Bug 19893: Add pods, remove syspref, add tests for serialization format
Add missing pods, remove obsolete syspref and add test for serialization format for records exceeding max record size
Sponsored-by: Gothenburg University Library
Signed-off-by: Ere Maijala <ere.maijala at helsinki.fi>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit cab8a55c28db3f0a9fd52a05d9d18a0fd9ebc115
Author: David Gustafsson <david.gustafsson at ub.gu.se>
Date: Wed Sep 12 16:50:01 2018 +0200
Bug 19893: Fix tests and add tests for joined subfields
Sponsored-by: Gothenburg University Library
Signed-off-by: Ere Maijala <ere.maijala at helsinki.fi>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit d22b6392dee50e8fa6e614b0b190e09f913e6445
Author: David Gustafsson <david.gustafsson at ub.gu.se>
Date: Tue Sep 11 17:56:44 2018 +0200
Bug 19893: Support for joined subfields in mappings
Sponsored-by: Gothenburg University Library
Signed-off-by: Ere Maijala <ere.maijala at helsinki.fi>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit 1e1ca322d35d26e7158faeb34be3aaeada25d13a
Author: David Gustafsson <david.gustafsson at ub.gu.se>
Date: Fri Sep 7 15:18:00 2018 +0200
Bug 19893: Restore and fix removed tests
Sponsored-by: Gothenburg University Library
Signed-off-by: Ere Maijala <ere.maijala at helsinki.fi>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit d6139eaad7763505ace3f3c4ee069f70f4e6de7f
Author: Ere Maijala <ere.maijala at helsinki.fi>
Date: Mon Jul 2 15:23:51 2018 +0300
Bug 19893: Fix Elasticsearch tests.
https://bugs.koha-community.org/show_bug.cgi?id=19893
Sponsored-by: Gothenburg University Library
Signed-off-by: Ere Maijala <ere.maijala at helsinki.fi>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit 53cf97bb2dc213936f8787f907fb79d3dc849b0b
Author: David Gustafsson <david.gustafsson at ub.gu.se>
Date: Tue May 29 17:57:31 2018 +0200
Bug 19893: Add index status
Add persistent per index "index status" state to provide useful
user feedback when update of Elasticsearch server mappings fails
Sponsored-by: Gothenburg University Library
Signed-off-by: Ere Maijala <ere.maijala at helsinki.fi>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit fc0abee5586beb2d003c2d02842c90ca9bb29bd2
Author: David Gustafsson <david.gustafsson at ub.gu.se>
Date: Mon May 28 16:03:32 2018 +0200
Bug 19893: Remove serialization format setting
Default to base64 encoded binary MARC with MARCXML
fallback if record exceeds maximum size
Sponsored-by: Gothenburg University Library
Signed-off-by: Ere Maijala <ere.maijala at helsinki.fi>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit 5389ffa38ae72548d30cb75598ae11cef2ef10db
Author: David Gustafsson <david.gustafsson at ub.gu.se>
Date: Tue Dec 12 18:26:13 2017 +0100
Bug 19893: Alternative optimized indexing for Elasticsearch
Implement optimized indexing for Elasticsearch
How to test:
1) Time a full elasticsearch re-index without this patch by running the
rebuild_elastic_search.pl with the -d flag:
`koha-shell <instance_name> -c "time rebuild_elastic_search.pl -d"`.
2) Apply this patch.
3) Time a full re-index again, it should be about twice at fast (for a
couple of thousand biblios, with fewer biblios results may be more
unpredictable).
Sponsored-by: Gothenburg University Library
Signed-off-by: Ere Maijala <ere.maijala at helsinki.fi>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
-----------------------------------------------------------------------
Summary of changes:
C4/Accounts.pm | 4 +
C4/Circulation.pm | 18 +-
Koha.pm | 2 +-
Koha/Exceptions/Elasticsearch.pm | 17 +
Koha/Illrequest.pm | 1 -
Koha/REST/V1/Illrequests.pm | 1 +
Koha/SearchEngine/Elasticsearch.pm | 523 ++++++++++++++++++--
Koha/SearchEngine/Elasticsearch/Indexer.pm | 330 +++++++++---
Koha/SearchEngine/Elasticsearch/Search.pm | 75 ++-
admin/searchengine/elasticsearch/field_config.yaml | 10 +-
admin/searchengine/elasticsearch/mappings.pl | 46 +-
circ/circulation.pl | 2 +-
installer/data/mysql/sysprefs.sql | 4 +-
installer/data/mysql/updatedatabase.pl | 11 +
.../intranet-tmpl/prog/css/src/staff-global.scss | 42 +-
koha-tmpl/intranet-tmpl/prog/css/staff-global.css | 2 +-
.../en/modules/admin/preferences/circulation.pref | 6 +-
.../admin/searchengine/elasticsearch/mappings.tt | 6 +
.../prog/en/modules/cataloguing/additem.tt | 2 +-
.../en/modules/course_reserves/course-details.tt | 19 +-
.../prog/en/modules/course_reserves/course.tt | 32 +-
.../prog/en/modules/ill/ill-requests.tt | 139 +++---
misc/search_tools/rebuild_elastic_search.pl | 12 +-
t/Koha/SearchEngine/Elasticsearch.t | 359 +++++++++++++-
t/Koha_ExternalContent_RecordedBooks.t | 42 --
t/db_dependent/Accounts.t | 19 +-
t/db_dependent/Circulation.t | 11 +-
t/db_dependent/Circulation/Chargelostitem.t | 6 +-
t/db_dependent/Koha_Elasticsearch.t | 164 ------
t/db_dependent/Koha_Elasticsearch_Indexer.t | 138 +-----
.../Koha_ExternalContent_OverDrive.t | 0
.../Koha_SearchEngine_Elasticsearch_Search.t | 26 +-
32 files changed, 1427 insertions(+), 642 deletions(-)
create mode 100644 Koha/Exceptions/Elasticsearch.pm
delete mode 100755 t/Koha_ExternalContent_RecordedBooks.t
delete mode 100644 t/db_dependent/Koha_Elasticsearch.t
rename t/{ => db_dependent}/Koha_ExternalContent_OverDrive.t (100%)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list