Commit 2227ffba authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Modify filter to use the family name in text field not in combo.

parent 2072abf1
......@@ -16,7 +16,7 @@
'Filter hardware': 'Filter hardware',
'Filter people': 'Filter people',
'Filter responsabilities': 'Filter responsabilities',
'First Name': 'Nom de famille',
'First Name': 'Prénom',
'Forms': 'Formulaire',
'Grade': 'Grade',
'Hdr': 'Hdr',
......@@ -25,7 +25,7 @@
'Host': 'Host',
'Id': 'Id',
'Initials': 'Initiales',
'Last Name': 'Prénom',
'Last Name': 'Nom de famille',
'Level': 'Niveau',
'Line': 'Ligne',
'Max Records': 'Max Records',
......@@ -74,10 +74,12 @@
'select entries where family name contains': 'select entries where family name contains',
'select entries where first name contains': 'select entries where first name contains',
'select entries where initials contains': 'select entries where initials contains',
'select entries where last name contains': 'select entries where last name contains',
'select entries where line contains': 'select entries where line contains',
'select people for the category': 'select people for the category',
'select people for the project': 'select people for the project',
'select people for the team': 'select people for the team',
'select people with a family name containing': 'select people with a family name containing',
'select people with a first name containing': 'select people with a first name containing',
'teams': 'équipes',
'undefined': 'undéfini',
......
......@@ -41,7 +41,7 @@ gridModifier = dbui.GridModifier('budgets')
gridModifier.set_rownumbering()
filters = [('year', '==', T('select entries for the year')),
('id_people', '==', T('select entries for the person')),
('people.last_name', 'contains', T('select entries where last name contains')),
('id_teams', '==', T('select entries for the team')),
('id_projects', '==', T('select entries for the project')),
('line', 'contains', T('select entries where line contains'))]
......@@ -56,7 +56,7 @@ gridModifier.set_filters(*filters,
gridModifier = dbui.GridModifier('careers')
gridModifier.set_rownumbering()
filters = [('id_people', '==', T('select entries for the person')),
filters = [('people.last_name', 'contains', T('select entries where last name contains')),
('id_teams', '==', T('select entries for the team')),
('id_projects', '==', T('select entries for the project')),
('id_categories', '==', T('select entries for the category'))]
......@@ -71,7 +71,7 @@ gridModifier.set_filters(*filters,
gridModifier = dbui.GridModifier('hardware')
gridModifier.set_rownumbering()
filters = [('id_people', '==', T('select entries for the person')),
filters = [('people.last_name', 'contains', T('select entries where last name contains')),
('id_teams', '==', T('select entries for the team')),
('id_projects', '==', T('select entries for the project'))]
......@@ -93,14 +93,13 @@ gridModifier.set_rownumbering()
#plugins=['pFormToolTip'],
#width=300)
#
# customized grid responsabilities
#
gridModifier = dbui.GridModifier('responsabilities')
gridModifier.set_rownumbering()
filters = [('id_people', '==', T('select entries for the person')),
filters = [('people.last_name', 'contains', T('select people with a family name containing')),
('id_teams', '==', T('select entries for the team')),
('id_projects', '==', T('select entries for the project')),
('id_organizations', '==', T('select entries for the organization')),
......
Markdown is supported
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