Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Maarch
maarchRM
Commits
dd4526b3
Commit
dd4526b3
authored
Jun 23, 2017
by
Prosper De Laure
Browse files
Bug : text field are added in archive search form
parent
1e9698eb
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/presentation/maarchRM/Presenter/recordsManagement/welcome.php
View file @
dd4526b3
...
...
@@ -90,6 +90,7 @@ class welcome
$archivalProfile
->
searchFields
=
[];
foreach
(
$archivalProfile
->
archiveDescription
as
$archiveDescription
)
{
switch
(
$archiveDescription
->
descriptionField
->
type
)
{
case
'text'
:
case
'name'
:
case
'date'
:
case
'number'
:
...
...
src/presentation/maarchRM/Resources/view/recordsManagement/archive/fulltextSearchForm.html
View file @
dd4526b3
...
...
@@ -59,7 +59,13 @@
</div>
</div>
</div>
<?merge .type.ifeq('text') ?>
<div
class=
"form-group col-md-6"
>
<label
class=
"col-md-6 control-label text-primary"
><small>
<?merge .label ?>
</small></label>
<div
class=
"col-md-6"
>
<input
type=
"text"
class=
"form-control input-sm"
name=
"[?merge .name ?]"
/>
</div>
</div>
<?merge .type.ifeq('boolean') ?>
<div
class=
"form-group col-md-6"
>
<label
class=
"col-md-6 control-label text-primary"
><small>
<?merge .label ?>
</small></label>
...
...
@@ -77,9 +83,6 @@
</div>
</div>
</div>
</div>
<?merge .searchFields ?>
<div>
<?merge .type.ifeq('number') ?>
<div
class=
"form-group col-md-12"
>
<label
class=
"col-md-3 control-label text-primary"
><small>
<?merge .label ?>
</small></label>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment