Koha/installer/data/mysql
Kyle M Hall d3184fa85b Bug 13022 - Hardcoded limit causes records with more than 20 items to show inaccurate statuses
If a record has more than 20 items, all the items over 20 will show as
available on the search results even if they are not!

This is a hard coded limit in the Search module. This number should be
configurable.

Test Plan:
1) Create a record with more than 20 items
2) Set all the items to waiting holds or in transit
3) Search for results that will include that item
4) Note some say they are available even though they are not
5) Apply this patch
6) Run updatedatabase.pl
7) Set the new system preference MaxSearchResultsItemsPerRecordStatusCheck
   to a number larger than the number of items on your record
8) Re-run the search
9) Note that the hold and transit statuses for the items are now correct

Signed-off-by: Andreas Hedström Mace <andreas.hedstrom.mace@sub.su.se>

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>

Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
2015-12-31 18:11:21 +00:00
..
atomicupdate Bug 13022 - Hardcoded limit causes records with more than 20 items to show inaccurate statuses 2015-12-31 18:11:21 +00:00
de-DE Bug 9819 - 'stopwords'-related code removed 2015-12-30 15:49:35 +00:00
en Bug 9819 - 'stopwords'-related code removed 2015-12-30 15:49:35 +00:00
es-ES Bug 9819 - QA Followup: Stopwords vestiges in es-ES removed 2015-12-30 15:50:15 +00:00
fr-FR Bug 9819 - 'stopwords'-related code removed 2015-12-30 15:49:35 +00:00
it-IT Bug 9819 - 'stopwords'-related code removed 2015-12-30 15:49:35 +00:00
mandatory Bug 14285: Bengali locale needs to be re-defined 2015-06-01 15:22:27 -03:00
nb-NO Bug 9819 - 'stopwords'-related code removed 2015-12-30 15:49:35 +00:00
pl-PL Bug 9819 - 'stopwords'-related code removed 2015-12-30 15:49:35 +00:00
ru-RU Bug 9819 - 'stopwords'-related code removed 2015-12-30 15:49:35 +00:00
uk-UA Bug 9819 - 'stopwords'-related code removed 2015-12-30 15:49:35 +00:00
audio_alerts.sql Bug 11431: (QA followup) Make audio alerts sql top level 2015-11-04 12:33:53 -03:00
backfill_statistics.pl
kohastructure.sql Bug 9129 - Update database 2015-12-31 15:24:08 +00:00
labels_upgrade.pl
patroncards_upgrade.pl
sysprefs.sql Bug 13022 - Hardcoded limit causes records with more than 20 items to show inaccurate statuses 2015-12-31 18:11:21 +00:00
update22to30.pl
updatedatabase.pl Bug 13592 - DBrev 3.23.00.011 2015-12-31 16:01:26 +00:00
userflags.sql Bug 13632: Populate user_flags and permissions tables in the web installer 2015-10-19 09:38:04 -03:00
userpermissions.sql Bug 11569: Correcting typos in userpermissions.sql 2015-12-30 16:21:38 +00:00