I'm making a complex search form with a lot of inputs to query and I want to paginate the search results using Zend Framework 2.
I've found a few people who are trying to do something similar but I have yet to find a good solution.
Some people suggested switching to $_GET method instead of $_POST but i would prefer to avoid this because of the number of form elements.
The results are coming up fine, but as soon as i try to navigate to the second page, the query is lost and it is essentially paginating all records on the table.
What is the best way to store the original search query so that the paginated results are the actual results?
I can't imagine ZF2 doesn't have an easy way to paginate $_POST results but I haven't been able to figure it out yet
Zend Framework 2 Paginating Search Results
343 views Asked by user2961779 At
1
There are 1 answers
Related Questions in PAGINATION
- In Datatables, start value resets to 0, when column sorting
- React Query infinite scroll pagination resets to first page
- How to implement pagination on the custom dropdown item's in flutter
- How to modify HTML in WordPress core file
- CakePHP 4 Custom Routing Issue with Paginator Links
- How to set up the link for the paginated files in the Get Rows(V2) Logic App connector and pass it via Azure API call?
- Paging 3 Library with Jetpack Compose Not calling the load method after initial load
- Customising Mui pagination to dots instead of numbers
- Performance degradation in Asynchronous paging
- PrimeNg paginator wont display "Entries per page" or Showing entries per page
- WordPress Pagination not working Properly with Custom Post Type
- Is it possible to programmatically access rows from different pages within a TablePress table that utilizes pagination?
- Pagination does not work in Apollo React Native
- Vue 3 component not rendering on the page
- pagination node.js mongoose express, am I doing it wrong?
Related Questions in ZEND-FRAMEWORK2
- ZF2 Action Returns 302 Redirect Instead of 200 OK When Opening Modal View
- Class "Laminas\\View\\HelperPluginManager" not found after migration from zendframework2 to laminas
- Laminas Framework Routing Issue
- Zend Session Error, Session must be started before any output has been sent to browser
- How to use OptionalInputFilter and ways to validate it
- ZF2 / PHPUnit: Mock a Zend/Db/Adapter/Adapter
- In Zend Framework should a script be a service or a controller?
- composer says that zend-serviccemanager 2.7.8 conflicts with zendframework 2.4.0
- using Doctrine With laminas project issue : "Class does not exist"
- What is the method return type declaration for json in zend framework
- How do I alter my unit test to utilise mocks within the setUp function?
- Zend Framework 3 - Module won't load
- getting error while using zend email validation:: PHP Fatal error: Uncaught Error: Class 'Zend\Validator\AbstractValidator'
- Extending module but keep no-overwrite template map
- How can I setup error reporting with Laminas for a development environment?
Related Questions in ZEND-PAGINATOR
- Use Zend_Paginator without loading all data from WebAPI
- Using paginator
- (Why) Is it not possible to encapsulate the pagination creating in a Factory in ZF2?
- Zend 1 Paginator limit
- Zend Framework 1 Paginator change URL
- How to join two entities with doctrine 2 and zf2?
- Zf2 Pagination fetches all records
- Zend 2 Paginator how does it work?
- (How) Can the data of a Zend Paginator object be manipulated?
- How to use zend pagination
- Zend paginator running very slow 1.12
- Zend Paginatinator trigger an error when I call $paginator->getItem()
- Zend Paginator variable
- Need dynamic column information from Zend Paginator Object
- Zend Framework 2 Paginating Search Results
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
well you either need to repost the search parameters on every page request or keep the search parameters in a
sessionand on the second request check if the request isgetorpostand use thesessionif it isget