1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-10-15 19:42:08 +00:00

Fixes to search engine

Changed the search parameter from POST to GET.
Also, adapted the Baggy theme.
This commit is contained in:
tcit 2014-03-23 23:52:05 +01:00
parent a33a3d2afb
commit 2c4e7a1cea
7 changed files with 100 additions and 23 deletions

View file

@ -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']);
}