Bug #14838 » bug_1235.diff
typo3_src-4.1.2/typo3/sysext/indexed_search/class.indexer.php 2008-03-24 14:30:28.000000000 +0100 | ||
---|---|---|
$fields = array(
|
||
'phash' => $this->hash['phash'],
|
||
'phash_grouping' => $this->hash['phash_grouping'],
|
||
'cHashParams' => serialize($this->cHashParams),
|
||
'cHashParams' => count($this->cHashParams) ? serialize($this->cHashParams) : '',
|
||
'contentHash' => $this->content_md5h,
|
||
'data_page_id' => $this->conf['id'],
|
||
'data_page_reg1' => $this->conf['page_cache_reg1'],
|
typo3_src-4.1.2/typo3/sysext/indexed_search/pi/class.tx_indexedsearch.php 2008-03-24 14:51:09.000000000 +0100 | ||
---|---|---|
function linkPage($id,$str,$row=array(),$markUpSwParams=array()) {
|
||
// Parameters for link:
|
||
$urlParameters = (array)unserialize($row['cHashParams']);
|
||
$urlParameters = strlen($row['cHashParams']) ? (array)unserialize($row['cHashParams']) : '';
|
||
// Add &type and &MP variable:
|
||
if ($row['data_page_type']) $urlParameters['type'] = $row['data_page_type'];
|
||
... | ... | |
if ($row['sys_language_uid']) $urlParameters['L'] = $row['sys_language_uid'];
|
||
// markup-GET vars:
|
||
$urlParameters = array_merge($urlParameters, $markUpSwParams);
|
||
if (is_array($markUpSwParams) && count($markUpSwParams)) {
|
||
$urlParameters = array_merge($urlParameters, $markUpSwParams);
|
||
}
|
||
// This will make sure that the path is retrieved if it hasn't been already. Used only for the sake of the domain_record thing...
|
||
if (!is_array($this->domain_records[$id])) {
|