mirror of
https://github.com/Squidly271/community.applications.git
synced 2025-06-03 14:52:13 +08:00
search repo name instead of repository
This commit is contained in:
parent
6a223b56db
commit
3d6054a30c
BIN
archive/community.applications-2017.08.17.txz
Normal file
BIN
archive/community.applications-2017.08.17.txz
Normal file
Binary file not shown.
@ -1126,7 +1126,7 @@ case 'get_content':
|
||||
if ( $category && ! preg_match($category,$template['Category'])) { continue; }
|
||||
|
||||
if ($filter) {
|
||||
if (preg_match("#$filter#i", $template['Name']) || preg_match("#$filter#i", $template['Author']) || preg_match("#$filter#i", $template['Description']) || preg_match("#$filter#i", $template['Repository'])) {
|
||||
if (preg_match("#$filter#i", $template['Name']) || preg_match("#$filter#i", $template['Author']) || preg_match("#$filter#i", $template['Description']) || preg_match("#$filter#i", $template['RepoName'])) {
|
||||
$template['Description'] = highlight($filter, $template['Description']);
|
||||
$template['Author'] = highlight($filter, $template['Author']);
|
||||
$template['Name'] = highlight($filter, $template['Name']);
|
||||
|
Loading…
x
Reference in New Issue
Block a user