Ticket #271 (new enhancement)

Opened 19 years ago

Last modified 16 years 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>

Change History

Changed 19 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 19 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 16 years ago by cfgrok

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

Changed 16 years 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.

Note: See TracTickets for help on using tickets.