Skip to content

Commit

Permalink
v2.1.1 fixed Find It! album link #29
Browse files Browse the repository at this point in the history
  • Loading branch information
RocketMan committed May 23, 2019
1 parent 3fea04f commit 716d641
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion engine/Engine.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
6 changes: 5 additions & 1 deletion ui/Search.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class Search extends MenuItem {

private static $actions = [
[ "find", "ftSearch" ],
[ "findAlbum", "searchByAlbumKey" ],
[ "findAlbum", "findAlbum" ],
[ "search", "doSearch" ],
];

Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit 716d641

Please sign in to comment.