[eluser]predat0r[/eluser]
[quote author="LuckyFella73" date="1297892700"]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');
?>
[/quote]
As I guessed, after ordering, the filter post gets clear. Yes its because - i think - it cant remember what was the previous post, thats because earlier i tried to put the filter post value in a ci session, but then comes a huge database error about category_id blabla..
commenting out the ci session thing error disappers