A simple case is having a listview model, and a search bar.
I want the search bar to match any field of my model (so that then, my
listview just show the matches). In addition, I have a sort property to
sort the model.
SortFilterModel {
id: currentmodel
model: billsHandler.billsResults
sort.property: "timestamp"
sort.order: Qt.DescendingOrder
}
We can imagine adding here, as you say:
filter.property ["foo", "bar"]
to match any "query" search term anywhere in "foo" or "bar". Does it make sense
to you?
** Summary changed:
- SortFilterModel: No complex "OR" or "AND" sorting possible
+ SortFilterModel: No complex "OR" or "AND" filtering possible
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1488823
Title:
SortFilterModel: No complex "OR" or "AND" filtering possible
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1488823/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs