Koha-clms/t/db_dependent/Koha
Ere Maijala 22585ec127 Bug 22524: Fix publication date and year search with Elasticsearch
Also fixes the mappings.yaml to use correct field name (left over issue from bug 19575), so reset mappings and reindex before testing.

Test plan:
1. Reset mappings and reindex biblios.
2. Check that tests in t/db_dependent/Koha/SearchEngine/Elasticsearch/QueryBuilder.t pass.
3. Try that all of the following year range type work in publication date search and year limit in advanced search:
yyyy
yyyy-yyyy
-yyyy
yyyy-

Signed-off-by: Liz Rea <wizzyrea@gmail.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 2293e6597c)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit d21a1fb964)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2019-08-31 03:35:36 +00:00
..
Account Bug 22006: Add tests 2019-01-23 12:47:34 +00:00
Acquisition Bug 22541: Invoice adjustments should show invoice number and include link on ordered.pl and spent.pl 2019-04-15 13:07:34 +01:00
BiblioUtils Bug 21798: replace gimme_a_biblio with build_sample_biblio 2019-02-25 14:45:54 +00:00
Config Bug 15494: (follow-up) Move yaml syspref code to its own sub in SySpref object 2018-11-07 21:39:39 +00:00
Filter
…
IssuingRules Bug 17530: (QA follow-up) Add pref ArticleRequestsLinkControl 2018-09-07 13:16:10 +00:00
Item Bug 14334: Remove AutoCommit from tests 2018-12-17 12:08:58 +00:00
Library Bug 21082: Add new admin page for overdrive 2018-10-09 11:04:23 +00:00
Patron Bug 23151: (follow-up) tweaked tests 2019-07-22 23:58:36 +00:00
Patrons Bug 23077: Fix import of cardnumber 0 2019-07-31 18:23:00 +00:00
REST Bug 22107: Make tests use a simpler class, with no FK 2019-01-14 14:29:36 +00:00
SearchEngine Bug 22524: Fix publication date and year search with Elasticsearch 2019-08-31 03:35:36 +00:00
Subscription Bug 20400: Add routing list tab in OPAC 2018-04-20 13:34:41 -03:00
Tags Bug 21846: Add Koha::Tags::Approval(s) and Koha::Tags::Index(es) 2019-03-19 09:57:07 +00:00
Template/Plugin Bug 22451: Update test 2019-04-25 14:28:18 +01:00
Account.t Bug 21692: (QA follow-up) Enhance test for new 2019-02-26 09:31:23 +00:00
ApiKeys.t Bug 21597: Field 'description' doesn't have a default value 2018-10-18 14:18:00 +00:00
Authorities.t Bug 14769: Put ControlledIndicators to work 2018-04-12 10:50:35 -03:00
BiblioFrameworks.t
…
BiblioUtils.t
…
Biblios.t Bug 21798: (QA follow-up) Fix Biblios.t 2019-02-25 14:46:07 +00:00
Checkouts.t Bug 21432: (bug 20899 follow-up) Fix patron's name display for deleted patrons 2018-10-03 17:18:44 +00:00
CirculationRules.t Bug 18887: Add tests 2018-10-03 17:58:17 +00:00
Cities.t
…
ClassSortRules.t Bug 19929: Add Koha objects for class sources and sorters 2018-03-23 11:45:38 -03:00
ClassSources.t Bug 15836: Fix failing tests 2018-11-13 18:53:10 +00:00
ClassSplitRules.t Bug 15836: Handle non-existent regexs 2018-11-13 15:18:22 +00:00
CsvProfiles.t
…
Database.t Bug 21613: Add a test 2018-10-29 00:40:52 +00:00
GetDailyQuote.t Bug 14334: Remove AutoCommit from tests 2018-12-17 12:08:58 +00:00
Holds.t
…
IssuingRules.t
…
Item.t Bug 22899: (QA follow-up) Change accessor name 2019-05-24 14:36:41 +01:00
ItemTypes.t
…
Items.t Bug 21817: Centralize the mock of userenv from tests 2019-01-07 14:49:50 +00:00
Libraries.t Bug 7614: Add a new method Koha::Libraries->pickup_locations 2019-01-31 16:30:43 +00:00
MarcSubfieldStructures.t
…
News.t
…
Notices.t
…
Object.t Bug 21610: Add tests 2019-02-04 11:12:05 +00:00
Objects.t Bug 21912: (QA follow-up) Do not delete existing patrons 2019-01-14 14:08:59 +00:00
Patrons.t Bug 23199: Added tests for Koha::Patron 2019-08-02 20:15:59 +00:00
Ratings.t
…
Reports.t Bug 20052: (follow-up) Fix QA tool complaints and bad copy 2018-04-02 18:08:06 -03:00
Reviews.t Bug 21817: Centralize the mock of userenv from tests 2019-01-07 14:49:50 +00:00
SMS_Providers.t
…
SearchField.t Bug 18316: (follow-up) Fix tests and update statement 2018-11-07 22:16:59 +00:00
Subscription.t Bug 21474: Add the Koha::Subscription->frequency method 2018-11-06 20:26:21 +00:00
Suggestions.t
…
Tags.t Bug 21846: Add Koha::Tags::Approval(s) and Koha::Tags::Index(es) 2019-03-19 09:57:07 +00:00
Z3950Servers.t Bug 20047: Add Koha::Z3950Server Oject and use it to get server count 2018-04-20 13:34:41 -03:00