Ticket #13143 (confirmed Feature Request)

Opened 4 years ago

Last modified 4 years ago

plone.app.collection "results" method should have a kwarg to inject additional query row

Reported by: jensens Owned by:
Priority: minor Milestone: 4.x
Component: General Version: 4.3
Keywords: collection Cc:

Description

It is not possible to add a custom query row while fetching the results from a custom view.

It would be easy to inject an additional row by passing a list of rows (refering to plone.app.querystring format here).

With old ATTopic this was very easy and was used a lot.

At the moment one need to get the Raw Querystring with context.getQuery and modify it and to the same as done in the results method of plone.app.collection afterwards. An example of such horrible code is here  https://github.com/collective/collective.collection.yearview/blob/master/collective/collection/yearview/browser/views.py#L35

Change History

comment:1 Changed 4 years ago by kleist

  • Status changed from new to confirmed
  • Type changed from Bug to Feature Request
  • Component changed from Unknown to General
Note: See TracTickets for help on using tickets.