mirror of
https://github.com/flextype/flextype.git
synced 2025-08-24 13:52:56 +02:00
fix(core): Entries API - fix Collection Undefined Index(s) for fetchAll method #243
feat(core): Entries API - improve and_where & or_where for fetchAll method #242 BREAKING CHANGES Changed and_where & or_where execution in the templates FROM ``` 'and_where': { } 'or_where': { } ``` TO ``` 'and_where': [ { } ] 'or_where': [ { } ] ```
This commit is contained in:
@@ -38,11 +38,13 @@
|
||||
'expr': 'contains',
|
||||
'value': tag
|
||||
},
|
||||
'and_where': {
|
||||
'key': 'visibility',
|
||||
'expr': 'nin',
|
||||
'value': ['draft', 'hidden']
|
||||
},
|
||||
'and_where': [
|
||||
{
|
||||
'key': 'visibility',
|
||||
'expr': 'nin',
|
||||
'value': ['draft', 'hidden']
|
||||
}
|
||||
],
|
||||
'order_by': {
|
||||
'field': 'published_at',
|
||||
'direction': 'desc'
|
||||
|
Reference in New Issue
Block a user