[maemo-community] [maemo2midgard] how to search for productGroup?

From: Ferenc Szekely ferenc at maemo.org
Date: Wed Jan 31 02:50:25 EET 2007

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">
    $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);

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.


More information about the maemo-community mailing list