[Freeipa-devel] [PATCH] admiyo-0206-2-Use-modified-entity-find-commands-for-associations

Adam Young ayoung at redhat.com
Wed Mar 2 15:29:10 UTC 2011


On 03/02/2011 10:14 AM, Endi Sukma Dewata wrote:
> On 3/1/2011 8:30 PM, Adam Young wrote:
>> On 03/01/2011 09:23 PM, Adam Young wrote:
>>> Not a 100% solution, but keeps the groups-user facet from exploding.
>>> https://fedorahosted.org/freeipa/ticket/1011
>> Includes fixes for services
>
> Some issues:
>
> 1. See these lines in associate.js:
>
> 604:    that.relationship_filter = spec.relationship_filter;
Meant to remove that.

>
> 899:        var relationship_filter = 'in_' + that.entity_name;
>
> The spec.relationship_filter is actually never used and the 
> relationship_filter will always be in_<entity name>. For now this is 
> not a problem because the only facet using this code is member_user, 
> but I think 899 should be fixed to take that.relationship_filter if 
> it's defined.

We'll implement a complete solution next.  I don't want to add unused code.

>
> 2. The description column has been removed from host's and service's 
> enrollment dialogs, so the column widths for the remaining columns 
> need to be adjusted (e.g. fqdn should be 200px now). Otherwise the 
> column header will be too short (try adding a new managedby-host).
>
>          that.create_adder_column({
>              name: 'fqdn',
>              primary_key: true,
>              width: '100px'
>          });
>
> -        that.create_adder_column({
> -            name: 'description',
> -            width: '100px'
> -        });
>
>

We shouldn't be using px, either, but I'll adjust this way for now.  Or 
could I do something like 100%?




More information about the Freeipa-devel mailing list