From 6e7d08b14f41d89a63aa3fbfaf4748c94393d953 Mon Sep 17 00:00:00 2001
From: efalcy <efalcy@afi-sa.fr>
Date: Thu, 18 Feb 2016 12:07:23 +0100
Subject: [PATCH] dev #32668 : display admin bib custom field  to information
 block

---
 library/ZendAfi/Form/Admin/Library.php | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/library/ZendAfi/Form/Admin/Library.php b/library/ZendAfi/Form/Admin/Library.php
index d7a6b19108c..4be9922f4de 100644
--- a/library/ZendAfi/Form/Admin/Library.php
+++ b/library/ZendAfi/Form/Admin/Library.php
@@ -147,7 +147,8 @@ class ZendAfi_Form_Admin_Library extends ZendAfi_Form {
                          'annexe',
                          'horaire'],
                         'informations',
-                        ['legend' => $this->_('Informations')])
+                        ['legend' => $this->_('Informations'),
+                        'order' => 3])
 
       ->addElement('select', 'visibilite', ['label' => $this->_('Statut de la bib'),
                                             'multiOptions' => (new Class_Bib())->getAllStatus(),
@@ -191,6 +192,10 @@ class ZendAfi_Form_Admin_Library extends ZendAfi_Form {
     return $this;
   }
 
+  protected function getCustomDisplayGroup() {
+    return $this->getDisplayGroup('informations');
+
+  }
 
   protected function displayRedmine() {
     if (!Class_AdminVar::isRedmineEnabled())
-- 
GitLab