Ticket #271 (new enhancement)

Opened 3 years ago

Last modified 2 months ago

Generic Lists orderBy attribute only accepts one value

Reported by: dhughes Owned by:
Priority: normal Milestone: 2.0.x-next-patch
Version: 2.0.304 Severity: normal
Keywords: Cc:

Description

It would be really nice if the Generic List accepted a list of columns to sort by. IE:

<message name="modelglue.GenericList?">

<argument name="object" value="User" /> <argument name="orderBy" value="lastName,firstName" /> <argument name="criteria" value="userTypeId=1" /> <argument name="queryName" value="users" />

</message>

Attachments

Change History

Changed 3 years ago by joe.rinehart

  • owner changed from somebody to joe.rinehart
  • status changed from new to assigned

Thanks, I'll work on making it part of the AbstractORMAdapter interface.

Changed 3 years ago by joe.rinehart

  • status changed from assigned to new
  • severity changed from blocker to normal
  • priority changed from highest to normal
  • version set to 2.0
  • milestone changed from User Reported Issues (with full information) to Feature Requests
  • owner joe.rinehart deleted

Being considered as a feature. Not sure how far MG should go in implementing query-by-configuration rather than forcing exposure of necessary queries through DAL APIs.

Changed 2 months ago by cfgrok

  • milestone changed from Feature Requests to 2.0.x-next-patch

Changed 2 months ago by DanWilson

I want to see where this leaves us and how well it transports across the three implemented ORMs. I'm willing to do this or to mark as wontfix. Need deeper analysis.

Add/Change #271 (Generic Lists orderBy attribute only accepts one value)

Author


E-mail address and user name can be saved in the Preferences.


Action
as new
 
Note: See TracTickets for help on using tickets.