Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1097396
D97.id232.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
Tue, Aug 12, 9:25 PM
Size
871 B
Mime Type
text/x-diff
Expires
Wed, Aug 13, 9:25 PM (7 h, 41 m)
Engine
blob
Format
Raw Data
Handle
709775
Attached To
D97: INP-1448 Allow to set pass_through value in adm:SelectorLink tag as parameter
D97.id232.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
@@ -493,8 +493,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);
}
@@ -1193,4 +1201,4 @@
return $this->Application->ParseBlock($block_params);
}
- }
\ No newline at end of file
+ }
Event Timeline
Log In to Comment