Bug 15694: Add aliases for date/time last modified

This patch will add indexes for Date/time-last-modified.

To test:

1. apply patch
2. reindex
3. search for dtlm:DATE and date-time-last-modified:DATE
4. confirm that you get results

Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com>
Works as advertised

Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
  I confirm Hector signing-off. A simple Zebra server restart suffice to get
  working the searches on date-time-last-modified and dtlm.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
This commit is contained in:
Nicole C Engard 2016-01-28 17:24:31 +00:00 committed by Brendan A Gallagher
parent 69cf2d9451
commit 39f9b9ddb0
2 changed files with 4 additions and 0 deletions

View file

@ -1105,9 +1105,11 @@ sub getIndexes{
'date-entered-on-file',
'Date-of-acquisition',
'Date-of-publication',
'Date-time-last-modified',
'Dewey-classification',
'Dissertation-information',
'diss',
'dtlm',
'EAN',
'extent',
'fic',

View file

@ -354,6 +354,8 @@ acqdate Date-of-acquisition
#Date/time last 1012 The date and time a record 005
#modified was last updated.
Date/time-last-modified 1=1012
Date-time-last-modified Date/time-last-modified
dtlm Date/time-last-modified
#Dissertation- 1056 Information about a MARC21 502/UNIMARC 328
#information dissertation thesis, or another