Skip to content
Snippets Groups Projects
Commit 8605241b authored by Hermann's avatar Hermann
Browse files

fix filtering in tables for uesr relations

parent 51a6793b
No related branches found
No related tags found
No related merge requests found
......@@ -13,12 +13,12 @@ export default class UserView extends ItemView {
this.groupmemberships = new DatalistController('groupmemberships', {
where: { user: this.data._id },
embedded: { group: 1 },
});
}, ['group.name'], false);
// a controller to handle the eventsignups of this user
this.eventsignups = new DatalistController('eventsignups', {
where: { user: this.data._id },
embedded: { event: 1 },
});
}, ['event.title_de', 'event.title_en'], false);
// initially, don't display the choice field for a new group
// (this will be displayed once the user clicks on 'new')
this.groupchoice = false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment