Using query across different levels doesn't function
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
U1DB Qt/ QML |
Fix Committed
|
High
|
Marco Trevisan (Treviño) |
Bug Description
Hi
I have a document with the following structure:
{
{
]
}
}
This is my index expression:
expression: ["playlist.name", "playlist.
This is my query:
query: [{"name":"*"}, {"file":"*"}, {"title":"*"}]
However when I set the query to a listview only the first item for the track is displayed. Also if i have multiple documents with tracks when i set the name in the query to filter to only one playlist (document) this doesn't function as well. There is an example app here [0]
0 - https:/
Related branches
- Cris Dywan: Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 157 lines (+120/-2)3 files modifiedexamples/u1db-qt-example-7/u1db-qt-example-7.qml (+75/-0)
src/query.cpp (+4/-2)
tests/test-database.cpp (+41/-0)
Changed in u1db-qt: | |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in u1db-qt: | |
assignee: | nobody → Marco Trevisan (Treviño) (3v1n0) |
status: | Confirmed → In Progress |
Changed in u1db-qt: | |
status: | In Progress → Fix Committed |
Linked wrong example branch, updated now.