Browse Source

disable SEF pagination on search request

pull/8/head
d47081 2 years ago
parent
commit
7be863ce84
  1. 2
      public/index.php

2
public/index.php

@ -69,7 +69,7 @@ foreach ($db->getData($ns, $tx, $query, $limit, PAGE_LIMIT) as $value) {
]; ];
} }
if (SEF_MODE) { if (SEF_MODE && !$query) {
if (in_array($page, [0, 1])) { if (in_array($page, [0, 1])) {
$newer = false; $newer = false;

Loading…
Cancel
Save