manila/releasenotes/notes/bug-1704971-fix-name-description-filter-85935582e89a72a0.yaml
zhongjun f906bcdd4e Fix the exact filter can be filter by inexact value
Fix the ``exact`` filters (name, description) in ``shares``,
``snapshots``, ``share-networks`` list can be filter by ``inexact``
value.

Change-Id: I51e6b754f37a09c09a60e9a7fb51d3c9721f2d1f
Closes-bug: #1704971
2017-07-24 11:49:13 +08:00

13 lines
630 B
YAML

---
fixes:
- Fix the ``exact`` filters (name, description) in ``shares``,
``snapshots``, ``share-networks`` list can be filter by ``inexact``
value.
We got the error because the ``description`` filter will be
skipped in ``shares``, ``snapshots`` list API, and we will directly
remove the ``inexact`` filter flag('~') and process the
``exact`` filters (name, description) by ``inexact`` filter logic.
Now, we added ``description`` filter in ``shares``, ``snapshots`` list,
and check whether the filter keys has the '~' in the end in ``shares``,
``snapshots``, ``share-networks`` list firstly.