Welcome Guest, Not a member yet? Register   Sign In
[SOLVED] Filtering results - how to re-set filter to show all
#7

[eluser]LuckyFella73[/eluser]
Again I can't see an error here.

I would start to echo your post vars somewhere in your views
to check what values you get after submitting the form.

You said if you filter the results you get the wanted results
but when you set an order-rule the filter doesn't work anymore.
That only can happen if the $this->input->post('gyartok') is empty.

Put something like this at the top of your page and see what happens
after setting a filter and (after the page refreshed with filtered results)
an order.

Code:
<?php
echo 'POST VAR FILTER: '.$this->input->post('gyartok').'<br />';
echo 'POST VAR ORDER: '.$this->input->post('sorrend');
?&gt;


Messages In This Thread
[SOLVED] Filtering results - how to re-set filter to show all - by El Forum - 02-16-2011, 09:45 AM



Theme © iAndrew 2016 - Forum software by © MyBB