Browse Source

show last indexed pages on empty search request

main
yggverse 8 months ago
parent
commit
4c56b48a39
  1. 5
      src/webui/search.php

5
src/webui/search.php

@ -119,8 +119,9 @@ switch (true) @@ -119,8 +119,9 @@ switch (true)
case empty($q):
$query = $index->search('')
->expression('random', 'rand()')
->sort('random', 'asc');
//->expression('random', 'rand()')
//->sort('random', 'asc')
->sort('time','desc');
break;

Loading…
Cancel
Save