From 826e4d4bdabfdeea5036364b1ad1bc42eb2543a8 Mon Sep 17 00:00:00 2001 From: Fridolyn SOMERS Date: Fri, 16 Aug 2013 12:29:05 +0200 Subject: [PATCH] Bug 10740 - date created and modified indexes in ccl.properties date created and modified indexes are defined in bib1.att as : 1011 date-entered-on-file 1012 Date/time-last-modified This patch used those indexes in ccl.properties where there where commented. Also adds Date/time-last-modified to known indexes. Test plan : - Check indexes date-entered-on-file and Date/time-last-modified are used in biblio/records.abs - Index all database - Perform a search on those indexes --- C4/Search.pm | 1 + etc/zebradb/ccl.properties | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/C4/Search.pm b/C4/Search.pm index 04e4918..14259d7 100644 --- a/C4/Search.pm +++ b/C4/Search.pm @@ -961,6 +961,7 @@ sub getIndexes{ 'date-entered-on-file', 'Date-of-acquisition', 'Date-of-publication', + 'Date/time-last-modified', 'Dewey-classification', 'EAN', 'extent', diff --git a/etc/zebradb/ccl.properties b/etc/zebradb/ccl.properties index 14aa7b2..98d9405 100644 --- a/etc/zebradb/ccl.properties +++ b/etc/zebradb/ccl.properties @@ -346,11 +346,11 @@ acqdate Date-of-acquisition #Date/time added to 1011 The date and time that a 008/00-05 #database record was added to the # database. -#Date-time-added-to-db 1=1011 +date-entered-on-file 1=1011 #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 1=1012 #Identifier-- 1013 Used in full-text searching #authority/format to indicate to the target @@ -965,7 +965,6 @@ cn-prefix 1=9009 cn-suffix 1=9010 Suppress 1=9011 id-other 1=9012 -date-entered-on-file 1=date-entered-on-file extent 1=Extent llength 1=llength Summary 1=Summary -- 1.8.3.2