Welcome Guest, Not a member yet? Register   Sign In
CI Paging with searchresult
#8

[eluser]adamp1[/eluser]
I forgot about uri_to_assoc, might have to try that solution, only problem is still passing all that data in the uri which can look messy.

The clean way is with sessions but how to handle it is hard, I was thinking of storing a hash of the controller and then storing all relevant filter options in an array. This way if you navigate from one pagination table to another it won't try and apply the old filter results to the new table, which would happen if you just stored the data globably.

Only thing is then is when should that data expire? Expire too soon and you might be searching and loose your filters, expire too late and when you come back and want a new search you still have the old settings.


Messages In This Thread
CI Paging with searchresult - by El Forum - 02-07-2008, 05:26 PM
CI Paging with searchresult - by El Forum - 02-25-2008, 06:12 PM
CI Paging with searchresult - by El Forum - 02-25-2008, 06:32 PM
CI Paging with searchresult - by El Forum - 03-10-2008, 11:34 PM
CI Paging with searchresult - by El Forum - 03-10-2008, 11:44 PM
CI Paging with searchresult - by El Forum - 03-11-2008, 03:34 AM
CI Paging with searchresult - by El Forum - 03-11-2008, 03:55 AM
CI Paging with searchresult - by El Forum - 03-11-2008, 04:15 AM
CI Paging with searchresult - by El Forum - 03-11-2008, 07:46 AM
CI Paging with searchresult - by El Forum - 03-15-2008, 03:54 PM
CI Paging with searchresult - by El Forum - 03-15-2008, 05:28 PM
CI Paging with searchresult - by El Forum - 04-01-2008, 01:54 PM



Theme © iAndrew 2016 - Forum software by © MyBB