Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14056336
D15865.id38217.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
903 B
Referenced Files
None
Subscribers
None
D15865.id38217.diff
View Options
diff --git a/src/applications/transactions/editengine/PhabricatorEditEngine.php b/src/applications/transactions/editengine/PhabricatorEditEngine.php
--- a/src/applications/transactions/editengine/PhabricatorEditEngine.php
+++ b/src/applications/transactions/editengine/PhabricatorEditEngine.php
@@ -497,6 +497,10 @@
}
public function getEffectiveObjectViewURI($object) {
+ if ($this->getIsCreate()) {
+ return $this->getObjectViewURI($object);
+ }
+
$page = $this->getSelectedPage();
if ($page) {
$view_uri = $page->getViewURI();
@@ -839,6 +843,13 @@
}
$page_key = $request->getURIData('pageKey');
+ if (!strlen($page_key)) {
+ $pages = $this->getPages($object);
+ if ($pages) {
+ $page_key = head_key($pages);
+ }
+ }
+
if (strlen($page_key)) {
$page = $this->selectPage($object, $page_key);
if (!$page) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 17, 8:00 PM (1 d, 16 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6723892
Default Alt Text
D15865.id38217.diff (903 B)
Attached To
Mode
D15865: Fix some pagination/redirect issues for repositories
Attached
Detach File
Event Timeline
Log In to Comment