From 2c4e7a1cea0e692b39055eec7a8ebf142839f120 Mon Sep 17 00:00:00 2001 From: tcit Date: Sun, 23 Mar 2014 23:52:05 +0100 Subject: Fixes to search engine Changed the search parameter from POST to GET. Also, adapted the Baggy theme. --- inc/poche/Poche.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'inc/poche') 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 break; case 'search': - if (isset($_POST['search'])){ - $search = $_POST['search']; + if (isset($_GET['search'])){ + $search = $_GET['search']; $tpl_vars['entries'] = $this->store->search($search); $tpl_vars['nb_results'] = count($tpl_vars['entries']); } -- cgit v1.2.3