mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-04 22:40:12 +01:00
Searching now looks at the description of an app in addition to name and summary.
This commit is contained in:
parent
8f50665e8c
commit
a9fd66cae2
@ -315,13 +315,16 @@ class FDroid
|
||||
case "summary":
|
||||
$appinfo['summary']=$el;
|
||||
break;
|
||||
case "description":
|
||||
$appinfo['description']=$el;
|
||||
break;
|
||||
case "license":
|
||||
$appinfo['license']=$el;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if($query_vars['fdfilter']===null || $query_vars['fdfilter']!='' && (stristr($appinfo['name'],$query_vars['fdfilter']) || stristr($appinfo['summary'],$query_vars['fdfilter']))) {
|
||||
if($query_vars['fdfilter']===null || $query_vars['fdfilter']!='' && (stristr($appinfo['name'],$query_vars['fdfilter']) || stristr($appinfo['summary'],$query_vars['fdfilter']) || stristr($appinfo['description'],$query_vars['fdfilter']))) {
|
||||
if($skipped<($query_vars['fdpage']-1)*$outputter->perpage) {
|
||||
$skipped++;
|
||||
} else if($got<$outputter->perpage) {
|
||||
|
Loading…
Reference in New Issue
Block a user