From 716d641f0b33156f35bf1587903def5b1b0b2825 Mon Sep 17 00:00:00 2001 From: Jim Mason Date: Thu, 23 May 2019 10:14:02 +0100 Subject: [PATCH] v2.1.1 fixed Find It! album link #29 --- engine/Engine.php | 2 +- ui/Search.php | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/engine/Engine.php b/engine/Engine.php index de9b3f44..79dd328a 100644 --- a/engine/Engine.php +++ b/engine/Engine.php @@ -25,7 +25,7 @@ namespace ZK\Engine; class Engine { - const VERSION = "2.1.0"; + const VERSION = "2.1.1"; private static $apis; private static $config; diff --git a/ui/Search.php b/ui/Search.php index 1fe29e4d..22299132 100644 --- a/ui/Search.php +++ b/ui/Search.php @@ -76,7 +76,7 @@ class Search extends MenuItem { private static $actions = [ [ "find", "ftSearch" ], - [ "findAlbum", "searchByAlbumKey" ], + [ "findAlbum", "findAlbum" ], [ "search", "doSearch" ], ]; @@ -190,6 +190,10 @@ private function HTMLify($arg, $size) { return UI::HTMLify($arg, $size, $this->noTables); } + public function findAlbum() { + $this->searchByAlbumKey($_REQUEST["n"]); + } + public function searchByAlbumKey($key=0) { $opened = 0;