From: Sebastian Hammer Date: Wed, 17 Jan 2007 14:12:03 +0000 (+0000) Subject: Date facet X-Git-Tag: stable.27032007~72 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=17334a360ca8f3b17857468fd63b0c372a367214;p=pazpar2-moved-to-github.git Date facet --- diff --git a/www/demo/page_segments.phpi b/www/demo/page_segments.phpi index a477ea4..16e993d 100644 --- a/www/demo/page_segments.phpi +++ b/www/demo/page_segments.phpi @@ -1,6 +1,6 @@ Subject - +
Author + +
+ + Date + +
diff --git a/www/demo/search.js b/www/demo/search.js index b7754e0..d0a64c2 100644 --- a/www/demo/search.js +++ b/www/demo/search.js @@ -1,4 +1,4 @@ -/* $Id: search.js,v 1.34 2007-01-17 02:15:12 quinn Exp $ +/* $Id: search.js,v 1.35 2007-01-17 14:12:03 quinn Exp $ * --------------------------------------------------- * Javascript container */ @@ -516,6 +516,8 @@ function refine_query (obj) { query_cell.value += ' and su=(' + term + ')'; else if (cur_termlist == 'author') query_cell.value += ' and au=(' + term + ')'; + else if (cur_termlist == 'date') + query_cell.value += ' and date=' + term; start_search(); }