diff options
author | Andreas Unterkircher <unki@netshadow.at> | 2008-01-13 17:28:30 +0100 |
---|---|---|
committer | Andreas Unterkircher <unki@netshadow.at> | 2008-01-13 17:28:30 +0100 |
commit | 213a12dbb00c60ff1873cfec86c9f9c35d86253f (patch) | |
tree | 8dc0e16fe168dced4d2d5e3145b01e847e118d3c /rpc.php | |
parent | c1820df7b1f282211fc6554190b0aab600001ced (diff) |
issue99, search for filename and photo description
Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
Diffstat (limited to 'rpc.php')
-rw-r--r-- | rpc.php | 10 |
1 files changed, 2 insertions, 8 deletions
@@ -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': |