-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
- .entry(uid) doesn't work
- .asset(uid) doesn't work
To Reproduce
Query a content type/asset
In the query, enter the entry's uid/asset's uid
Notice: The result is empty.
Query
Stack.contentType('blog')
.entry({uid})
// OR
Stack.asset({uid})
Expected behavior
The query should return an object, if it exists
Workarounds
Use raw .query()
for list-entries OR .entry()/.asset()
without on singleton-content type
// example 1: On multiple content type
Stack.contentType('blog')
.entries()
.query({uid: {uid}})
// OR
Stack.assets()
.query({uid: {uid}})
// example 2: On singleton content type
Stack.contentType('blog')
.entry()
// OR
Stack.asset()
Regards,
Ramanathan K
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working