Advanced search: WIP POC, integration with endpoint.

SVN:b1162[5412]
This commit is contained in:
Guillaume Lajarige
2018-03-13 10:47:54 +00:00
parent 2038785b09
commit e2174b9ad4
8 changed files with 363 additions and 64 deletions

View File

@@ -54,6 +54,17 @@ class NiceWebPage extends WebPage
$this->add_linked_script(utils::GetAbsoluteUrlAppRoot().'js/search/search_form_criteria.js');
$this->add_linked_script(utils::GetAbsoluteUrlAppRoot().'js/search/search_form_criteria_raw.js');
$this->add_linked_script(utils::GetAbsoluteUrlAppRoot().'js/search/search_form_criteria_string.js');
// TODO: Remove
$this->add_dict_entry('UI:Search:Criteria:Operator:Default:Empty');
$this->add_dict_entry('UI:Search:Criteria:Operator:Default:NotEmpty');
$this->add_dict_entry('UI:Search:Criteria:Operator:Default:Equals');
$this->add_dict_entry('UI:Search:Criteria:Operator:String:Contains');
$this->add_dict_entry('UI:Search:Criteria:Operator:String:StartsWith');
$this->add_dict_entry('UI:Search:Criteria:Operator:String:EndsWith');
$this->add_dict_entry('UI:Button:Apply');
$this->add_dict_entry('UI:Button:Cancel');
$this->add_dict_entry('UI:Button:More');
$this->add_dict_entry('UI:Button:Less');
$this->add_ready_script(
<<< EOF
//add new widget called TruncatedList to properly display truncated lists when they are sorted