mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-25 04:24:45 -04:00
Add filter reset on location change.
This commit is contained in:
parent
af29d651b5
commit
a1ebf1f4fb
3 changed files with 41 additions and 2 deletions
|
@ -82,6 +82,12 @@ class Api {
|
|||
$response["items"] = $this->app->get_items($url, $what);
|
||||
}
|
||||
|
||||
if (has_request_param("all_items")) {
|
||||
|
||||
use_request_param("all_items");
|
||||
$response["all_items"] = $this->app->get_all_items();
|
||||
}
|
||||
|
||||
if (count($_REQUEST)) {
|
||||
$response["unused"] = $_REQUEST;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue