[rt-devel] Trying to sort the values of a CF

Joop jvdwege at xs4all.nl
Tue Jul 15 15:44:08 EDT 2014

On 11-7-2014 3:29, Kevin Falcone wrote:
> On Fri, Jul 04, 2014 at 04:20:19PM +0200, Joop wrote:
>> I would like to sort the content of a CF of type 'enter multiple values'.
>> I had a look at the element displaying this but can't make this work.
>> Probably my very weak perl skills are the problem.
> How do you want to sort them, can you do a database sort?
>> % my $Values = $Object->CustomFieldValues( $CustomField->Id );
> You can say $Values->OrderBy(FIELD => 'Content', ORDER => 'ASC');
> https://metacpan.org/pod/DBIx::SearchBuilder#OrderBy-PARAMHASH
Thanks Kevin for the hints. I'll check them out and let the list know.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-devel/attachments/20140715/9a9f8d3d/attachment.html>

More information about the rt-devel mailing list