Get resource page edit collapse button to work correctly, a=chris

Chris Pollett [2016-03-07 03:Mar:th]
Get resource page edit collapse button to work correctly, a=chris
Filename
src/views/elements/WikiElement.php
diff --git a/src/views/elements/WikiElement.php b/src/views/elements/WikiElement.php
index a4e71f0a6..38315243f 100644
--- a/src/views/elements/WikiElement.php
+++ b/src/views/elements/WikiElement.php
@@ -81,6 +81,9 @@ class WikiElement extends Element implements CrawlConstants
         if (!empty($data['SUB_PATH'])) {
             $other_base_query .= "&sf=". $data['SUB_PATH'];
         }
+        if (!empty($data['RESOURCE_NAME'])) {
+            $other_base_query .= "&n=". $data['RESOURCE_NAME'];
+        }
         if (($is_admin || $logged_in) && !C\MOBILE &&
             (!isset($data['page_type']) ||
             $data['page_type'] != 'presentation')) { ?>
ViewGit