Skip to content
Snippets Groups Projects
Commit 3fb22f51 authored by Dorian Merz's avatar Dorian Merz Committed by Robert Lange
Browse files

refs #18513 [fid_bbi] re-order job_titles in forms

* admin-edit-form
* user-create-form
* uses order 0,2,3,1
parent e48b9963
No related merge requests found
...@@ -9,4 +9,7 @@ baseUrl = https://fid-api.finc.info/staging/bbi ...@@ -9,4 +9,7 @@ baseUrl = https://fid-api.finc.info/staging/bbi
permission_options[] = 'basic_access' permission_options[] = 'basic_access'
permission_options[] = 'limited_access' permission_options[] = 'limited_access'
permission_options[] = 'extended_access' permission_options[] = 'extended_access'
permission_options[] = 'full_access' permission_options[] = 'full_access'
\ No newline at end of file
[Forms]
jobTitleOptions = "0,2,3,1"
\ No newline at end of file
<?php
/**
* Copyright (C) 2020 Leipzig University Library
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
* @author Sebastian Kehr <kehr@ub.uni-leipzig.de>
* @license http://opensource.org/licenses/gpl-2.0.php GNU GPLv2
*/
use fid\Hydrator\UserHydrator;
use fid\InputFilter\RootAwareBaseInputFilter;
use Zend\Form\Element\Collection;
use Zend\Form\Element\Hidden;
use Zend\Form\Element\Radio;
use Zend\Form\Element\Select;
use Zend\Form\Element\Submit;
use Zend\Form\Element\Text;
use Zend\Form\Fieldset;
use Zend\Form\InputFilterProviderFieldset;
return [
'elements' => [
'job_title' => [
'spec' => [
'options' => [
'value_options' => [
'job_title_2',
'job_title_3',
],
],
],
],
],
];
...@@ -33,7 +33,6 @@ $config = [ ...@@ -33,7 +33,6 @@ $config = [
'user-init-form' => require 'user-init-form.php', 'user-init-form' => require 'user-init-form.php',
'user-create-form' => require 'user-create-form.php', 'user-create-form' => require 'user-create-form.php',
'user-update-form' => require 'user-update-form.php', 'user-update-form' => require 'user-update-form.php',
'admin-edit-form' => require 'admin-edit-form.php',
], ],
'controllers' => [ 'controllers' => [
'factories' => [ 'factories' => [
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment