From 5842fd657d5f04d1dc522976a3aafd3b012cfe87 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 aec024b..00a6738 100644 --- a/C4/Search.pm +++ b/C4/Search.pm @@ -960,6 +960,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 a5de010..d0a02fd 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 @@ -962,7 +962,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.7.10.4