aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/poche/Poche.class.php
diff options
context:
space:
mode:
authortcit <tcit@tcit.fr>2014-03-23 23:52:05 +0100
committertcit <tcit@tcit.fr>2014-03-23 23:52:05 +0100
commit2c4e7a1cea0e692b39055eec7a8ebf142839f120 (patch)
tree0e3a04e3a07c523c256dcd569fa99a5dd174b725 /inc/poche/Poche.class.php
parenta33a3d2afb6a861e194599973e31e5e448617296 (diff)
downloadwallabag-2c4e7a1cea0e692b39055eec7a8ebf142839f120.tar.gz
wallabag-2c4e7a1cea0e692b39055eec7a8ebf142839f120.tar.zst
wallabag-2c4e7a1cea0e692b39055eec7a8ebf142839f120.zip
Fixes to search engine
Changed the search parameter from POST to GET. Also, adapted the Baggy theme.
Diffstat (limited to 'inc/poche/Poche.class.php')
-rwxr-xr-xinc/poche/Poche.class.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php
index 74a185bd..c7aa71e8 100755
--- a/inc/poche/Poche.class.php
+++ b/inc/poche/Poche.class.php
@@ -605,8 +605,8 @@ class Poche
605 break; 605 break;
606 606
607 case 'search': 607 case 'search':
608 if (isset($_POST['search'])){ 608 if (isset($_GET['search'])){
609 $search = $_POST['search']; 609 $search = $_GET['search'];
610 $tpl_vars['entries'] = $this->store->search($search); 610 $tpl_vars['entries'] = $this->store->search($search);
611 $tpl_vars['nb_results'] = count($tpl_vars['entries']); 611 $tpl_vars['nb_results'] = count($tpl_vars['entries']);
612 } 612 }