Module: ActiveScaffold::Search

Included in:
Actions::FieldSearch, Actions::List, Actions::LiveSearch, Actions::PrintBase, Actions::PrintList
Defined in:
lib/six-updater-web/vendor/plugins/active_scaffold/lib/active_scaffold/search.rb

Instance Method Summary collapse

Instance Method Details

#reset_searchObject

AST begin



4
5
6
# File 'lib/six-updater-web/vendor/plugins/active_scaffold/lib/active_scaffold/search.rb', line 4

def reset_search
  update_table
end

#reset_search_session_infoObject

AST end



9
10
11
# File 'lib/six-updater-web/vendor/plugins/active_scaffold/lib/active_scaffold/search.rb', line 9

def reset_search_session_info
  active_scaffold_session_storage[:search] = {}
end

#search_session_infoObject



17
18
19
# File 'lib/six-updater-web/vendor/plugins/active_scaffold/lib/active_scaffold/search.rb', line 17

def search_session_info
  active_scaffold_session_storage[:search] || {}
end

#store_params_into_search_session_infoObject



13
14
15
# File 'lib/six-updater-web/vendor/plugins/active_scaffold/lib/active_scaffold/search.rb', line 13

def store_params_into_search_session_info
  active_scaffold_session_storage[:search] = params[:search] if params[:search]
end