You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we modify the payload inside any filter hook, wrong meta values placing over response. For example, current payload is array of 3 items but I've changed it with array as 1 item. Admin app displays data as (and also API's):
So, pagination operations are not working properly because of that.
To Reproduce
Create a items.read filter hook and modify payload object with different number of records.
Errors Shown
No response
What version of Directus are you using?
9.11.0
What version of Node.js are you using?
16.13.2
What database are you using?
MySQL
What browser are you using?
Chrome
How are you deploying Directus?
running locally
The text was updated successfully, but these errors were encountered:
Describe the Bug
If we modify the payload inside any filter hook, wrong meta values placing over response. For example, current payload is array of 3 items but I've changed it with array as 1 item. Admin app displays data as (and also API's):
So, pagination operations are not working properly because of that.
To Reproduce
Create a
items.read
filter hook and modify payload object with different number of records.Errors Shown
No response
What version of Directus are you using?
9.11.0
What version of Node.js are you using?
16.13.2
What database are you using?
MySQL
What browser are you using?
Chrome
How are you deploying Directus?
running locally
The text was updated successfully, but these errors were encountered: