Count issue with policy rules #569
-
DescriptionWhich section? Which is the version? Description I created a rule to filter the response records of a CRUD service call, specifically for the endpoint /main. Without the filter, I receive 100 records in the response; with the filter applied, I get 75 records. When I display the results through the back office, it shows the filtered records, but the count reflects the total number of unfiltered records. I noticed that the count query returns the total number of records as well. How can I return the count of only the filtered records? thank you |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hello @rafpor75, |
Beta Was this translation helpful? Give feedback.
Hello @rafpor75,
you should add the filter to the
/main/count
route as well.