plone / plone.app.contentlisting

Generic way to make listings of Plone content
2 stars 8 forks source link

getURL with a Link should return the remote URL #17

Open jensens opened 8 years ago

jensens commented 8 years ago

getURL always returns the URL of the object itself. On a Link object this does now make much sense, since here the URL of interest is in general the getRemoteUrl.

If this is too fuzzy, I propose to add a getRemoteURL to the interface and its implementations, since this is quite often needed if working with the Link content-type.

thet commented 8 years ago

+1 for adding getRemoteURL. I would expect getURL to always return the url to the object itself. It will be needed for constructing special URLs, e.g. /@@edit or /@@view.