This change fixes the query being used to filter share
types. We were using an "or" clause instead of an "and" clause,
and that was causing all the extra specs to be shown instead of
the ones that the user specified. With this fix, manila users will
be able to filter shares by share type extra_specs accurately.
Reviewed: https:/ /review. opendev. org/c/openstack /manila/ +/795256 /opendev. org/openstack/ manila/ commit/ 4fbacf1df1dbe7a 85726e22892d462 b5b7c4e316
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 4fbacf1df1dbe7a 85726e22892d462 b5b7c4e316
Author: Kafilat Adeleke <email address hidden>
Date: Tue Jun 8 08:27:44 2021 +0000
Filter shares by share type "extra_specs"
This change fixes the query being used to filter share
types. We were using an "or" clause instead of an "and" clause,
and that was causing all the extra specs to be shown instead of
the ones that the user specified. With this fix, manila users will
be able to filter shares by share type extra_specs accurately.
Closes-Bug: #1929121
Change-Id: I5cf9788dcafebd f88426617d2824f 4be42dbb412