Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If search is empty #17

Open
skunkius opened this issue Aug 22, 2014 · 1 comment
Open

If search is empty #17

skunkius opened this issue Aug 22, 2014 · 1 comment

Comments

@skunkius
Copy link

Hi, when filtering with deleted search input (with empty search), it returns to the last search keywords where used. I found this to be working for my needs:

if(!$search_string){
$filter_session_data['search_string_selected'] = null;
$this->session->set_userdata($filter_session_data);
}

Added just after $order_type = $this->input->post('order_type');

Hope this helps for someone :)

@sapienza
Copy link
Owner

Hi Skunkies! i've been away from github makes a while! i will start to see the issues, but make yourself comfortable to create pull requests and help the project and the community :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants