From 39f9b9ddb0359428e4379a90711eb9dc9961be59 Mon Sep 17 00:00:00 2001 From: Nicole C Engard Date: Thu, 28 Jan 2016 17:24:31 +0000 Subject: [PATCH] Bug 15694: Add aliases for date/time last modified MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 Works as advertised Signed-off-by: Frédéric Demians 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 Signed-off-by: Brendan A Gallagher --- C4/Search.pm | 2 ++ etc/zebradb/ccl.properties | 2 ++ 2 files changed, 4 insertions(+) diff --git a/C4/Search.pm b/C4/Search.pm index 58ccf8463b..fcbb660f42 100644 --- a/C4/Search.pm +++ b/C4/Search.pm @@ -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', diff --git a/etc/zebradb/ccl.properties b/etc/zebradb/ccl.properties index f65d26921f..6ce7af07a0 100644 --- a/etc/zebradb/ccl.properties +++ b/etc/zebradb/ccl.properties @@ -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 -- 2.39.5