Skip to content
Snippets Groups Projects
Unverified Commit 220966d3 authored by Michael Große's avatar Michael Große
Browse files

fix: display "show" item in page menu during search action

Since we no longer change the page during a search, using the "show"
menu item to return to the current page makes more sense.
parent c5bd5721
No related branches found
No related tags found
No related merge requests found
...@@ -18,7 +18,7 @@ class Edit extends AbstractItem { ...@@ -18,7 +18,7 @@ class Edit extends AbstractItem {
parent::__construct(); parent::__construct();
if($ACT == 'show' || $ACT == 'search') { if($ACT === 'show') {
$this->method = 'post'; $this->method = 'post';
if($INFO['writable']) { if($INFO['writable']) {
$this->accesskey = 'e'; $this->accesskey = 'e';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment