From 213a12dbb00c60ff1873cfec86c9f9c35d86253f Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Sun, 13 Jan 2008 17:28:30 +0100 Subject: issue99, search for filename and photo description Signed-off-by: Andreas Unterkircher --- rpc.php | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'rpc.php') diff --git a/rpc.php b/rpc.php index 6c94e8f..1f8698e 100644 --- a/rpc.php +++ b/rpc.php @@ -75,6 +75,7 @@ class PHPFSPOT_RPC { case 'reset': $fspot->resetTagSearch(); + $fspot->resetNameSearch(); $fspot->resetTags(); $fspot->resetDateSearch(); $fspot->resetPhotoView(); @@ -101,14 +102,7 @@ class PHPFSPOT_RPC { break; case 'search': - $fspot->startSearch($_GET['for'], $_GET['from'], $_GET['to']); - - if((isset($_GET['from']) && $fspot->isValidDate($_GET['from'])) && - (isset($_GET['to']) && $fspot->isValidDate($_GET['to']))) { - } - else { - $fspot->startSearch($_GET['for']); - } + $fspot->startSearch($_GET['for']); break; case 'update_sort_order': -- cgit v1.2.3-18-g5258