diff --git a/muranodashboard/packages/tables.py b/muranodashboard/packages/tables.py index d5e129d3f..f0d2910f5 100644 --- a/muranodashboard/packages/tables.py +++ b/muranodashboard/packages/tables.py @@ -55,8 +55,9 @@ class ImportPackage(tables.LinkAction): class PackagesFilterAction(tables.FilterAction): name = "filter_packages" filter_type = "server" - filter_choices = (('search', _("Name"), True), - ('type', _("Type"), True)) + filter_choices = (('search', _("KeyWord"), True), + ('type', _("Type"), True), + ('name', _("Name"), True)) class DownloadPackage(tables.Action): diff --git a/releasenotes/notes/filter-in-package-definition-d463e434c856a412.yaml b/releasenotes/notes/filter-in-package-definition-d463e434c856a412.yaml new file mode 100644 index 000000000..4e4357c20 --- /dev/null +++ b/releasenotes/notes/filter-in-package-definition-d463e434c856a412.yaml @@ -0,0 +1,6 @@ +--- +fixes: + - Filter by 'Name' in package definition only matches package name. +features: + - Added :filter by 'KeyWord' in package definition can matches + all the package parameters like name, tags ..etc.