Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1046536
D97.id231.diff
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
Sat, Jun 28, 7:46 PM
Size
883 B
Mime Type
text/x-diff
Expires
Sun, Jun 29, 7:46 PM (6 h, 56 m)
Engine
blob
Format
Raw Data
Handle
676559
Attached To
D97: INP-1448 Allow to set pass_through value in adm:SelectorLink tag as parameter
D97.id231.diff
View Options
Index: core/units/admin/admin_tag_processor.php
===================================================================
--- core/units/admin/admin_tag_processor.php
+++ core/units/admin/admin_tag_processor.php
@@ -485,8 +485,16 @@
}
if ($pass_through) {
- // add pass_through to selector url if any
- $params['pass_through'] = implode(',', array_keys($pass_through));
+ // Add pass_through to selector url if any.
+ $pass_through_string = implode(',', array_keys($pass_through));
+
+ if ( isset($params['pass_through']) ) {
+ $params['pass_through'] .= ',' . $pass_through_string;
+ }
+ else {
+ $params['pass_through'] = $pass_through_string;
+ }
+
$params = array_merge($params, $pass_through);
}
@@ -1115,4 +1123,4 @@
{
return $this->Application->isCachingType(CACHING_TYPE_MEMORY);
}
- }
\ No newline at end of file
+ }
Event Timeline
Log In to Comment