samedi 15 août 2020

How to apply pagination in laravel Searchy extension

Hello I have implemented an extension in my laravel application called - https://github.com/livelyworks/Laravel-Searchy

Here I am unable to apply paginate. kindly help

      $str = preg_replace('/[^A-Za-z0-9\. -]/', '', $query);

  $searchdata = Searchy::search('snippets')->fields('snippets_name', 'seo_description','snippets_description','snippet_tags')->query($str)->getQuery()->limit(20)->get();


via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire