[Vtigercrm-commits] [vtiger development] #6324: Using the go back button the list view is showing the default filter instead of search Result list
vtiger development
vtiger-tickets at trac.vtiger.com
Wed Sep 23 10:05:07 EDT 2009
#6324: Using the go back button the list view is showing the default filter
instead of search Result list
------------------------+---------------------------------------------------
Reporter: pratim | Owner: developer
Type: defect | Status: new
Priority: minor | Milestone: 5.2.0
Component: vtigercrm | Version: 5.1.0
Resolution: | Keywords:
------------------------+---------------------------------------------------
Comment (by asha):
Quick fix for this is - In '''Smarty/templates/ListView.tpl''', (In
javascript function '''''callSearch''''')
'''Replace'''
{{{
new Ajax.Request(
'index.php',
{ldelim}queue: {ldelim}position: 'end', scope:
'command'{rdelim},
method: 'post',
postBody:urlstring
+'query=true&file=index&module={$MODULE}&action={$MODULE}Ajax&ajax=true&search=true',
onComplete: function(response) {ldelim}
$("status").style.display="none";
result =
response.responseText.split('&#&#&#');
$("ListViewContents").innerHTML=
result[2];
if(result[1] != '')
alert(result[1]);
$('basicsearchcolumns').innerHTML = '';
{rdelim}
{rdelim}
);
return false
}}}
'''With'''
{{{
window.location.href = 'index.php?'+urlstring
+'query=true&action=index&module={$MODULE}&search=true';
}}}
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/6324#comment:1>
vtiger development <http://trac.vtiger.com/>
vtigerCRM
More information about the vtigercrm-commits
mailing list