agallou / mageia-app-db

GNU Affero General Public License v3.0
6 stars 3 forks source link

Allow to change the release while searching for a specific package #228

Closed agallou closed 10 years ago

agallou commented 10 years ago

Author Name: Rémi Verschelde (Rémi Verschelde) Original Redmine Issue: 187, http://mageia-app-db.tuxette.fr/issues/187 Original Date: 2011/08/09 Original Assignee: Samuel Verschelde


I use madb on a daily basis mainly as a multi-release version of urpmq, i.e. when someone asks for a new package on the official forum or on MLO, I search for the package in Mageia 1, and then in cauldron, to see if a "New RPM package request" bug in Bugzilla would be needed.

The issue with the current version of madb is that if you search for a package in Mageia 1, and then switch the "distribution" entry to cauldron, the previous query is lost. I would find very handy that searching for package "foo" and then switching to cauldron would display the search result of "foo" in cauldron.

agallou commented 10 years ago

Original Redmine Comment Author Name: Samuel Verschelde (@stormi) Original Date: 2011/08/09 17:52:31 +0200


I agree, I find myself often in this situation.

agallou commented 10 years ago

Original Redmine Comment Author Name: Rémi Verschelde (Rémi Verschelde) Original Date: 2011/08/09 18:10:31 +0200


While we're at it, I suppose the same thing could be applied for the "Applications" and "Arch" scrolling menus,

e.g. you're searching for "urpmq" and there are no results, then you switch to "Show all packages" instead of "Show only applications" and there it is.

I add this suggestion in this ticket instead of two new ones because I think the fix should be approximately the same (though I don't know the code, I may be mistaken).

agallou commented 10 years ago

Original Redmine Comment Author Name: Samuel Verschelde (@stormi) Original Date: 2011/08/09 19:55:34 +0200


This would indeed be the same development, it wouldn't be good to have this done for only some of the filters.

agallou commented 10 years ago

Original Redmine Comment Author Name: Samuel Verschelde (@stormi) Original Date: 2011/12/09 15:58:37 +0100


Ok, I've implemented a solution (not pushed yet), but I realize it's a kind of a hack. The real solution would be to get the t_search parameter correctly formatted, without the ? and =, but using / like the other filters.

agallou commented 10 years ago

Original Redmine Comment Author Name: Samuel Verschelde (@stormi) Original Date: 2011/12/09 20:30:23 +0100


Fixed, please test http://demo.madb.org and reopen if you find bugs.