Module: appdb Branch: master Commit: 449d1721df301ed4f674f48a040798bde55375a8 URL: http://source.winehq.org/git/appdb.git/?a=commit;h=449d1721df301ed4f674f48a0...
Author: Alexander Nicolaysen Sørnes alex@thehandofagony.com Date: Sun Jun 15 12:07:02 2008 +0200
browse apps: Remove greater/less than filter for app rating
---
include/application.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/application.php b/include/application.php index 4b13adf..0b2a13d 100644 --- a/include/application.php +++ b/include/application.php @@ -1032,7 +1032,7 @@ class Application {
$aLicenses = version::getLicenses();
- $oFilter->AddFilterInfo('appVersion.rating', 'Rating', array(FILTER_EQUALS, FILTER_LESS_THAN, FILTER_GREATER_THAN), FILTER_VALUES_ENUM, array('Platinum', 'Gold', 'Silver', 'Bronze', 'Garbage')); + $oFilter->AddFilterInfo('appVersion.rating', 'Rating', array(FILTER_EQUALS), FILTER_VALUES_ENUM, array('Platinum', 'Gold', 'Silver', 'Bronze', 'Garbage')); $oFilter->AddFilterInfo('appFamily.catId', 'Category', array(FILTER_EQUALS), FILTER_VALUES_ENUM, $aCatIds, $aCatNames); $oFilter->AddFilterInfo('appVersion.license', 'License', array(FILTER_EQUALS), FILTER_VALUES_ENUM, $aLicenses); $oFilter->AddFilterInfo('onlyDownloadable', 'Only show downloadable apps', array(FILTER_OPTION_BOOL), FILTER_VALUES_OPTION_BOOL, array('false','true'));