Using query across different levels doesn't function

Bug #1322156 reported by Andrew Hayzen on 2014-05-22
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Marco Trevisan (Treviño)

Bug Description


I have a document with the following structure:
                "name": "newies",
                "tracks": [
                    { "file": "new1", "title": "very new song" },
                    { "file": "new2", "title": "even newer" }

This is my index expression:
expression: ["", "playlist.tracks.file", "playlist.tracks.title"]

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 -

Related branches

Changed in u1db-qt:
status: New → Confirmed
importance: Undecided → High
Andrew Hayzen (ahayzen) wrote :

Linked wrong example branch, updated now.

description: updated
Changed in u1db-qt:
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
status: Confirmed → In Progress
Changed in u1db-qt:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers