Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
limbra
limbra
Commits
ad8fd5d9
Commit
ad8fd5d9
authored
Nov 05, 2019
by
LE GAC Renaud
Browse files
Update ui_core to fix missing fieldLabel in filters.
parent
6687dfca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
modules/ui_core.py
modules/ui_core.py
+4
-0
No files found.
modules/ui_core.py
View file @
ad8fd5d9
...
@@ -138,9 +138,11 @@ class CoreUI(object):
...
@@ -138,9 +138,11 @@ class CoreUI(object):
mdf
=
GridModifier
(
"collaborations"
)
mdf
=
GridModifier
(
"collaborations"
)
mdf
.
append_filter
((
"collaboration"
,
"contains"
,
tr_contains
),
mdf
.
append_filter
((
"collaboration"
,
"contains"
,
tr_contains
),
fieldLabel
=
T
(
"Collaboration"
),
xtype
=
"textfield"
)
xtype
=
"textfield"
)
mdf
.
append_filter
((
"synonyms"
,
"contains"
,
tr_contains
),
mdf
.
append_filter
((
"synonyms"
,
"contains"
,
tr_contains
),
fieldLabel
=
T
(
"Synonyms"
),
xtype
=
"textfield"
)
xtype
=
"textfield"
)
mdf
.
configure_filters
(
plugins
=
[
"pFormToolTip"
],
width
=
300
)
mdf
.
configure_filters
(
plugins
=
[
"pFormToolTip"
],
width
=
300
)
...
@@ -181,6 +183,7 @@ class CoreUI(object):
...
@@ -181,6 +183,7 @@ class CoreUI(object):
mdf
.
append_filter
((
"country"
,
"contains"
,
tr_contains
))
mdf
.
append_filter
((
"country"
,
"contains"
,
tr_contains
))
mdf
.
append_filter
((
"synonyms"
,
"contains"
,
tr_contains
),
mdf
.
append_filter
((
"synonyms"
,
"contains"
,
tr_contains
),
fieldLabel
=
T
(
"Synonyms"
),
xtype
=
"textfield"
)
xtype
=
"textfield"
)
mdf
.
configure_filters
(
plugins
=
[
"pFormToolTip"
],
width
=
300
)
mdf
.
configure_filters
(
plugins
=
[
"pFormToolTip"
],
width
=
300
)
...
@@ -440,6 +443,7 @@ class CoreUI(object):
...
@@ -440,6 +443,7 @@ class CoreUI(object):
mdf
.
append_filter
((
"abbreviation"
,
"contains"
,
tr_contains
))
mdf
.
append_filter
((
"abbreviation"
,
"contains"
,
tr_contains
))
mdf
.
append_filter
((
"synonyms"
,
"contains"
,
tr_contains
),
mdf
.
append_filter
((
"synonyms"
,
"contains"
,
tr_contains
),
fieldLabel
=
T
(
"Synonyms"
),
xtype
=
"textfield"
)
xtype
=
"textfield"
)
mdf
.
configure_filters
(
plugins
=
[
"pFormToolTip"
],
width
=
300
)
mdf
.
configure_filters
(
plugins
=
[
"pFormToolTip"
],
width
=
300
)
...
...
Write
Preview
Markdown
is supported
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