From 17334a360ca8f3b17857468fd63b0c372a367214 Mon Sep 17 00:00:00 2001 From: Sebastian Hammer Date: Wed, 17 Jan 2007 14:12:03 +0000 Subject: [PATCH] Date facet --- www/demo/page_segments.phpi | 12 ++++++++++-- www/demo/search.js | 4 +++- 2 files changed, 13 insertions(+), 3 deletions(-) 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(); } -- 1.7.10.4