Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1243203
in-portal
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Nov 20, 4:50 PM
Size
1 KB
Mime Type
text/x-diff
Expires
Sat, Nov 22, 4:50 PM (14 h, 27 m)
Engine
blob
Format
Raw Data
Handle
809046
Attached To
rINP In-Portal
in-portal
View Options
Index: branches/unlabeled/unlabeled-1.1.4/core/units/related_searches/related_searches_tag_processor.php
===================================================================
--- branches/unlabeled/unlabeled-1.1.4/core/units/related_searches/related_searches_tag_processor.php (revision 10667)
+++ branches/unlabeled/unlabeled-1.1.4/core/units/related_searches/related_searches_tag_processor.php (revision 10668)
@@ -1,20 +1,26 @@
<?php
class RelatedSearchTagProcessor extends kDBTagProcessor {
/**
* Returns url for search on the Fornt End
*
* @param Array $params
* @return string
*/
function RelatedSearchUrl($params)
{
- $object =& $this->getObject($params);
+ $object =& $this->getObject($params);
$keyword = $object->GetDBField('Keyword');
-
- return $this->Application->HREF($params['search_template'],'', Array('keywords' => $keyword));
+
+ $t = $params['search_template'];
+ unset($params['search_template']);
+
+ $pass_params = $params;
+ $pass_params['keywords'] = $keyword;
+
+ return $this->Application->HREF($t,'', $pass_params);
}
}
?>
\ No newline at end of file
Property changes on: branches/unlabeled/unlabeled-1.1.4/core/units/related_searches/related_searches_tag_processor.php
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.1.4.1
\ No newline at end of property
+1.1.4.2
\ No newline at end of property
Event Timeline
Log In to Comment