Module: appdb Branch: master Commit: 6dacbd9dd79d0a5428d038def8269bb90f586764 URL: http://source.winehq.org/git/appdb.git/?a=commit;h=6dacbd9dd79d0a5428d038def...
Author: Rosanne DiMesio dimesio@earthlink.net Date: Mon Jun 26 13:50:40 2017 -0500
Add Keywords filter to Browse Apps page
Fixes bug 38168.
Signed-off-by: Rosanne DiMesio dimesio@earthlink.net Signed-off-by: Jeremy Newman jnewman@codeweavers.com
---
include/application.php | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/include/application.php b/include/application.php index 75d13ee..8962915 100644 --- a/include/application.php +++ b/include/application.php @@ -1122,7 +1122,9 @@ EOT; $oFilter->AddFilterInfo('appCategory', 'Category', array(FILTER_OPTION_ENUM), FILTER_VALUES_OPTION_ENUM, $aCatIds, $aCatNames); $oFilter->AddFilterInfo('appVersion.license', 'License', array(FILTER_EQUALS), FILTER_VALUES_ENUM, $aLicenses); $oFilter->AddFilterInfo('appFamily.appName', 'Name', array(FILTER_CONTAINS, FILTER_STARTS_WITH, FILTER_ENDS_WITH), FILTER_VALUES_NORMAL); + $oFilter->AddFilterInfo('appFamily.keywords', 'Keywords', array(FILTER_CONTAINS, FILTER_STARTS_WITH, FILTER_ENDS_WITH), FILTER_VALUES_NORMAL); $oFilter->AddFilterInfo('onlyDownloadable', 'Only show downloadable apps', array(FILTER_OPTION_BOOL), FILTER_VALUES_OPTION_BOOL, array('false','true')); + return $oFilter; }