adr
7 November 2014 08:25
#1
HI All,
Hi all
i am want to customize the list-view based on condition so i followed this artical to add where condition in list view
Add where condition on list view
but after doing this i am not getting search option in my list view can any one can guide me on this
???
Can you provide a bit more detail please?
(your code, where you stored the file, a screenshot of the result, SuiteCRM log errors, Apache/PHP log errors, other relevant information)
Thx
adr
27 January 2015 07:25
#3
Hi All ,
i managed to fix it
the problem was we where not calling the method for it we were just generating the new list so finally the listviewProcess() method will look some thing like this
public function listViewProcess() // genrating listview
{
$this->processSearchForm();
$this->lv->searchColumns = $this->searchForm->searchColumns;
if(empty($_REQUEST['search_form_only']) || $_REQUEST['search_form_only'] == false){
$this->lv->ss->assign("SEARCH",true);
$this->lv->setup($this->seed, 'include/ListView/ListViewGeneric.tpl', $this->where, $this->params);
echo $this->lv->display();
}
}
Thanks For your time and support