How to Override pagy methods only in specific circumstances

This tutorial hopes to teach you how to override certain pagy methods only in certain situations.

Here are two different situations you may be facing:

  • (i) Overriding all the actions in a particular controller with a particular pagy method
  • (ii) Overriding each action individually, depending on the particular use case.
Written on February 1, 2020