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
I researched through the documentation, the pagy issues and a known Search Engine, and there is no reference/report/post that solves this problem
The documentation is missing
I am providing the link of the documentation page/document displaying the issue
Description
I was blocked on this issue until someone on Stackoverflow showed me that I needed to add Searchkick.extend Pagy::Searchkick to my Pagy initializer in order to search across multiple models and paginate them all together with Pagy. The solution and detailed description of my code can be found here:
Once I added Searchkick.extend Pagy::Searchkick to initializers/pagy.rb everything with Pagy and Searchkick worked as expected and described in the other documentation.
...
Thank you!
The text was updated successfully, but these errors were encountered:
Documentation Issue
Description
I was blocked on this issue until someone on Stackoverflow showed me that I needed to add
Searchkick.extend Pagy::Searchkick
to my Pagy initializer in order to search across multiple models and paginate them all together with Pagy. The solution and detailed description of my code can be found here:https://stackoverflow.com/questions/68041398/how-to-paginate-multiple-models-with-the-pagy-gem-in-rails/68124989#68124989
Once I added
Searchkick.extend Pagy::Searchkick
toinitializers/pagy.rb
everything with Pagy and Searchkick worked as expected and described in the other documentation....
Thank you!
The text was updated successfully, but these errors were encountered: