Skip to content

If search is empty #17

Description

@skunkius

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 :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions