lundi 14 mars 2016

laravel 5 pagination appends function issue

I have code and url like below. I do not know how to use that function properly.

I believe appends function would call some other function to append conditioned query right ? but I dont know where it call or I can write those functions.

I never wrote any function for search but it somehow search text .. I do not know how.

URL : ?search=test&status=Resolved

    $paginator->appends(request()->query->all());

    array:2 [
      "search" => "test"
      "status" => "Resolved"
    ]



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire