Skip to content

Conversation

@Seb33300
Copy link
Contributor

@Seb33300 Seb33300 commented Apr 3, 2025

I created a custom action where I need to return a json with complex manipulation on the data.
In that action I need to access the query results.
This is an improvement to prevent the query to be triggered twice.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Apr 3, 2025

* Count filtered items.
*/
protected function filteredCount(): int
public function filteredCount(): int
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I modified the visibility of that method to public because the totalCount() method is also public.

@yajra yajra merged commit 9644a5e into yajra:master Apr 7, 2025
6 of 7 checks passed
@yajra yajra changed the title fix: misc improvements fix: query results improvements Apr 7, 2025
@yajra
Copy link
Owner

yajra commented Apr 7, 2025

@Seb33300 Seb33300 deleted the misc-imp branch May 8, 2025 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants