]> git.koha-community.org Git - koha.git/commit
Bug 14636: Item search - fix search and sort by publication date for MARC21
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Sat, 21 Nov 2015 21:32:52 +0000 (22:32 +0100)
committerFrédéric Demians <f.demians@tamil.fr>
Thu, 31 Dec 2015 17:29:06 +0000 (18:29 +0100)
commit6cab2b5b1c9dcd7373abde8f8b19be145fbfb51b
treee38a1725a3837e0e16b2a389ccd72d618ab77b04
parentc7db8a68f0a49dfc0f3fe421bcacd761e4fd65c0
Bug 14636: Item search - fix search and sort by publication date for MARC21

Problem: MARC21/NORMARC stores the publication
date in biblio.copyrightdate, but UNIMARC uses
biblioitems.publicationyear.

To test:
- Without patch in a MARC21 installation:
- Search by publication date
- Verify that the results don't match the
  publication year you searched for.
- Try sorting the table by publication year.
- Verify that the sort doesn't work.
- Apply patch.
- Repeat both, search and sort.
- Verify both work correctly now.
- Repeat tests on a UNIMARC installation.
- Verify both still work.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Tested searching and sorting successfully in a MARC21 installation. DID
NOT test in UNIMARC.

Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 0d2e83bca5b91376e9262b6cb0b993f09b919018)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
(cherry picked from commit d772f8732c9623e246a0fad33fef5282c044f368)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
catalogue/itemsearch.pl