diff options
author | Andreas Unterkircher <unki@netshadow.at> | 2007-07-17 20:24:56 +0000 |
---|---|---|
committer | Andreas Unterkircher <unki@netshadow.at> | 2007-07-17 20:24:56 +0000 |
commit | 984b068b1369819a44bbfc4412476da0da49607f (patch) | |
tree | 77742123fb1ed67c05ee4ce6b65798781dc324ae /rpc.php | |
parent | 94bb73ca0d019247d4f08fb03a7f5afc2b5323ee (diff) |
issue50, further code changes to be able to combine tag- and date-search
git-svn-id: file:///var/lib/svn/phpfspot/trunk@219 fa6a889d-dae6-447d-9e79-4ba9a3039384
Diffstat (limited to 'rpc.php')
-rw-r--r-- | rpc.php | 12 |
1 files changed, 2 insertions, 10 deletions
@@ -90,17 +90,9 @@ class PHPFSPOT_RPC { $fspot->showCredits(); break; - case 'tag_search': + case 'search': - $fspot->resetDateSearch(); - $fspot->startTagSearch($_GET['for']); - break; - - case 'date_search': - - $fspot->resetTagSearch(); - $fspot->resetTags(); - $fspot->startDateSearch($_GET['from'], $_GET['to']); + $fspot->startSearch($_GET['for'], $_GET['from'], $_GET['to']); break; case 'get_export': |