[Lxr-commits] CVS: lxr/lib/LXR Template.pm,1.30,1.31
Brought to you by:
ajlittoz
From: Andre-Littoz <ajl...@us...> - 2014-04-06 17:06:26
|
Update of /cvsroot/lxr/lxr/lib/LXR In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv15481/lib/LXR Modified Files: Template.pm Log Message: Template.pm: search query state not kept between invocations (patch/bug #45) All user-typed query criteria should be preserved across transactions, not only the searched string. Add the missing criteria as URL query arguments in the 'mode' links. (Thanks to David Faure for pointing the issue) Index: Template.pm =================================================================== RCS file: /cvsroot/lxr/lxr/lib/LXR/Template.pm,v retrieving revision 1.30 retrieving revision 1.31 diff -u -d -r1.30 -r1.31 --- Template.pm 9 Mar 2014 15:26:25 -0000 1.30 +++ Template.pm 6 Apr 2014 17:06:22 -0000 1.31 @@ -1222,7 +1222,12 @@ ? '/'.$config->{'treename'} : '' ) - . &urlargs("$var=$val", '_string=' . $HTTP->{'param'}{'_string'}) + . &urlargs ( "$var=$val" + , '_string=' . $HTTP->{'param'}{'_string'} + , '_filestring=' . $HTTP->{'param'}{'_filestring'} + , '_advanced=' . $HTTP->{'param'}{'_advanced'} + , '_casesensitive=' . $HTTP->{'param'}{'_casesensitive'} + ) . "\">$val</a>"; } } |