rappasoft / laravel-livewire-tables

A dynamic table component for Laravel Livewire
https://rappasoft.com/docs/laravel-livewire-tables/v2/introduction
MIT License
1.7k stars 320 forks source link

Optionally disable count for simple pagination #1755

Closed lrljoe closed 4 days ago

lrljoe commented 4 days ago

This PR adds the capability to either disable/enable the "Total Item Count" when using simple pagination.

By default, the present "enabled" state is retained. Disabling this removes one query from the table, which is more performant with larger tables. This does not impact the UX.

All Submissions:

New Feature Submissions:

  1. [X] Does your submission pass tests and did you add any new tests needed for your feature?
  2. [X] Did you update all templates (if applicable)?
  3. [X] Did you add the relevant documentation (if applicable)?
  4. [X] Did you test locally to make sure your feature works as intended?

Changes to Core Features: