Filtering by a category, that does not contain any packages would result
in an empty set of packages. We can prevent user from doing so, by
disaplying number of packages in a category.
This commit changes packages.categories to categories.list, that
includes package_count information and outputs the information in the
dropdown menu.
This commit also sorts categories so that categories with packages
are listed before categories without packages
(both groups alphabetically ordered) for better ux.
Reviewed: https:/ /review. openstack. org/200815 /git.openstack. org/cgit/ openstack/ murano- dashboard/ commit/ ?id=bc03e821d84 405f251ec33b422 fb2600eaf5f29f
Committed: https:/
Submitter: Jenkins
Branch: master
commit bc03e821d84405f 251ec33b422fb26 00eaf5f29f
Author: Kirill Zaitsev <email address hidden>
Date: Sat Jul 11 12:59:06 2015 +0300
Catalog: show package_count for categories.
Filtering by a category, that does not contain any packages would result
in an empty set of packages. We can prevent user from doing so, by
disaplying number of packages in a category.
This commit changes packages.categories to categories.list, that
includes package_count information and outputs the information in the
dropdown menu.
This commit also sorts categories so that categories with packages
are listed before categories without packages
(both groups alphabetically ordered) for better ux.
Change-Id: Ieaa0d64cd4bc70 3f4918fa41cb280 288f76c2aa2
Related-Bug: #1454865