Robert Vogel has submitted this change and it was merged.

Change subject: ResponsibleEditors: Added string filters to WikiExplorer
......................................................................


ResponsibleEditors: Added string filters to WikiExplorer

* Added string filters for responsible editors column in WikiExplorer
* Also added column default width and an id
* => needs merge to master an REL1_23

Change-Id: If10d4d909a58c5ace167cd44117ca5627ae03f93
---
M ResponsibleEditors/ResponsibleEditors.class.php
1 file changed, 6 insertions(+), 1 deletion(-)

Approvals:
  Robert Vogel: Verified; Looks good to me, approved



diff --git a/ResponsibleEditors/ResponsibleEditors.class.php 
b/ResponsibleEditors/ResponsibleEditors.class.php
index 02ccbd5..5ed1066 100644
--- a/ResponsibleEditors/ResponsibleEditors.class.php
+++ b/ResponsibleEditors/ResponsibleEditors.class.php
@@ -1067,7 +1067,7 @@
 
        public function onSuperListGetFieldDefinitions(&$aFields) {
                $aFields[] = array(
-                       'name' => 'responsible_editors'
+                       'name' => 'responsible_editors',
                );
                return true;
        }
@@ -1076,6 +1076,11 @@
                $aColumns[] = array(
                        'header' => 
wfMessage('bs-responsibleeditors-assignedEditors')->escaped(),
                        'dataIndex' => 'responsible_editors',
+                       'id' => 'responsible_editors',
+                       'filter' => array(
+                               'type' => 'string'
+                       ),
+                       'width' => 200,
                        'hidden' => true
                );
                return true;

-- 
To view, visit https://gerrit.wikimedia.org/r/192520
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: If10d4d909a58c5ace167cd44117ca5627ae03f93
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/BlueSpiceExtensions
Gerrit-Branch: REL1_22
Gerrit-Owner: Pwirth <wi...@hallowelt.biz>
Gerrit-Reviewer: Mglaser <gla...@hallowelt.biz>
Gerrit-Reviewer: Pigpen <reym...@hallowelt.biz>
Gerrit-Reviewer: Robert Vogel <vo...@hallowelt.biz>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to