- bug 101 fixed : "problem with IE search on keywords". Separator character
";" is not officially a supported character for URL. Replaced by "--". git-svn-id: http://piwigo.org/svn/branches/branch-1_4@785 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
39e65897dc
commit
93277f9fbb
3 changed files with 3 additions and 3 deletions
|
@ -406,7 +406,7 @@ SELECT file,tn_ext,'.$conf['calendar_datefield'].',path
|
|||
$url_link.= '&search='.$conf['calendar_datefield'].':'.$_GET['day'];
|
||||
if ($calendar_category != 0)
|
||||
{
|
||||
$url_link.= ';cat:'.$calendar_category.'|AND';
|
||||
$url_link.= '--cat:'.$calendar_category.'|AND';
|
||||
}
|
||||
|
||||
$template->assign_block_vars(
|
||||
|
|
|
@ -389,7 +389,7 @@ function initialize_category( $calling_page = 'category' )
|
|||
$search['mode'] = 'OR';
|
||||
}
|
||||
|
||||
$search_tokens = explode(';', $tokens[0]);
|
||||
$search_tokens = explode('--', $tokens[0]);
|
||||
foreach ($search_tokens as $search_token)
|
||||
{
|
||||
$tokens = explode(':', $search_token);
|
||||
|
|
|
@ -114,7 +114,7 @@ if (isset($_POST['submit']))
|
|||
}
|
||||
array_push($tokens, $token);
|
||||
}
|
||||
$search_string.= implode(';', $tokens);
|
||||
$search_string.= implode('--', $tokens);
|
||||
if (count($tokens) > 1)
|
||||
{
|
||||
$search_string.= '|AND';
|
||||
|
|
Loading…
Add table
Reference in a new issue