[maemo-community] [maemo2midgard] how to search for productGroup?
From: Ferenc Szekely ferenc at maemo.orgDate: Wed Jan 31 02:50:25 EET 2007
- Previous message: [maemo2midgard] Re: refreshing style of app catalog?
- Next message: [maemo2midgard] how to search for productGroup?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
hi, i can't figure out how to search for productGroup (or "application category") in the app catalog. i added this to the search form style: <input type="hidden" name="org_openpsa_products_search[3][property]" value="productGroup" /> <input type="hidden" name="org_openpsa_products_search[3][constraint]" value="LIKE" /> <label for="productGroup">Category:</label> <select name="org_openpsa_products_search[3][value]" id="productGroup"> <?php $options = array ( '' => 'Any category', 'communications' => 'Communications', 'database' => 'Database', 'desktop environment' => 'Desktop Environment', 'education' => 'Education', 'games' => 'Games', 'internet' => 'Internet', 'multimedia' => 'Multimedia', 'office-business' => 'Office-Business', 'other' => 'Other', 'religion' => 'Religion', 'scientific' => 'Scientific', 'security' => 'Security', 'software development' => 'Software Development', 'system' => 'System', 'text editors' => 'Text Editors', ); org_maemo_search_options_helper($options, 3); ?> </select> but the searches do not return anything. i think i am on a wrong page here. it would also be nice to get the options automatically, instead of specifying this array manually. i would appreciate some pointer to docs or an example. thanks, ferenc
- Previous message: [maemo2midgard] Re: refreshing style of app catalog?
- Next message: [maemo2midgard] how to search for productGroup?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]