collective / collective.alias

3 stars 5 forks source link

How to find aliases in the site? #3

Closed khink closed 10 years ago

khink commented 10 years ago

How do we find alias objects in the site?

The "Catalog" tab in the ZMI's 'portal_catalog' can filter on types, but Alias isn't listed (nor is collective.alias).

@@dexterity-types show 0 items.

davisagli commented 10 years ago

You would need to override the portal_type indexer for aliases and make it index them as Alias rather than the aliased type.

tdesvenain commented 10 years ago

@davisagli this will add an 'alias' entry in search view filter, that would not be very user friendly. Maybe using an interface and work with object_provides index would be better

yet another interface :)

2014/1/3 David Glick notifications@github.com

You would need to override the portal_type indexer for aliases and make it index them as Alias rather than the aliased type.

— Reply to this email directly or view it on GitHubhttps://github.com/collective/collective.alias/issues/3#issuecomment-31546098 .

Thomas Desvenain

Téléphone : 09 51 37 35 18

davisagli commented 10 years ago

True. It looks like there's already an IAlias interface.

khink commented 10 years ago

Question answered, thx.