Commit 5abcf3dd authored by Alessandro Curci's avatar Alessandro Curci
Browse files

added current status to ownership as owner/owned

parent 4b271de7
......@@ -495,7 +495,7 @@ export class AppConfig {
key: 'ownerships_as_owner', type: 'datatable',
templateOptions: {
label: 'Ha partecipazioni in',
datasource: id ? apipath + '/' + id + '/ownerships_as_owner' : null,
datasource: id ? apipath + '/' + id + '/ownerships_as_owner?active_status=current' : null,
columns: [
<ColumnsTPL>{name:'Organizzazione', prop:'owned_organization', head:'hdr', cell:'organization',resize:1, sort:0, drag:1, flexGrow:3, },
<ColumnsTPL>{name:'Forma giuridica',prop:'owned_organization.forma_giuridica', head:'hdr', cell:'text', resize:1, sort:0, drag:1, flexGrow:2 },
......@@ -513,7 +513,7 @@ export class AppConfig {
key: 'ownerships_as_owned', type: 'datatable',
templateOptions: {
label: 'É partecipato da',
datasource: id ? apipath + '/' + id + '/ownerships_as_owned' : null,
datasource: id ? apipath + '/' + id + '/ownerships_as_owned?active_status=current' : null,
columns: [
<ColumnsTPL>{name:'Organizzazione', prop:'owner_organization', head:'hdr', cell:'organization',resize:1, sort:0, drag:1, flexGrow:3, },
<ColumnsTPL>{name:'Persona' , prop:'owner_person' , head:'hdr', cell:'personlink' ,resize:1, sort:0, drag:1, flexGrow:3, },
......
Supports Markdown
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