mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-28 01:41:14 -06:00
default search
Populate the entity search pages with the results of a search with a blank filter even if no filter has been specified
This commit is contained in:
parent
82455fdb12
commit
b09467e448
@ -129,7 +129,7 @@ function _ipa_entity_setup(jobj,unspecified) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
function setup_search_facet() {
|
function setup_search_facet() {
|
||||||
var filter = $.bbq.getState(obj_name + '-filter', true);
|
var filter = $.bbq.getState(obj_name + '-filter', true) || '';
|
||||||
search_create(obj_name, ipa_entity_search_list[obj_name], jobj);
|
search_create(obj_name, ipa_entity_search_list[obj_name], jobj);
|
||||||
|
|
||||||
$('<input />',{
|
$('<input />',{
|
||||||
@ -138,8 +138,7 @@ function _ipa_entity_setup(jobj,unspecified) {
|
|||||||
click:new_on_click
|
click:new_on_click
|
||||||
}).appendTo($( "div#" + obj_name + " > div.search-controls"));
|
}).appendTo($( "div#" + obj_name + " > div.search-controls"));
|
||||||
|
|
||||||
if (typeof filter != 'undefined')
|
search_load(jobj, filter, null, null);
|
||||||
search_load(jobj, filter, null, null);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
function setup_details_facet(unspecified) {
|
function setup_details_facet(unspecified) {
|
||||||
|
Loading…
Reference in New Issue
Block a user