fedora-infra / fedora-packages

A webapp that allows searching packages in Fedora. Written in Python using TurboGears2 and Moksha.
https://apps.fedoraproject.org/packages
GNU Affero General Public License v3.0
58 stars 59 forks source link

Fix filtering of packages in Problems tab #416

Closed mkutlak closed 5 years ago

mkutlak commented 5 years ago

The filtering didn't filter by package_name. It queried all problems for all packages from FAF which resulted in timeouts.

With this commit, the filtering should use the name of package that is being currently viewed and use it to query problems from FAF.

This should reduce: a) query time from FAF b) size of returned data from FAF

Additionally:

Old revision: fedora_packages_problem_old

New revision: fedora_packages_problem_fixed