[itsm] Sorting of Config Items by Name

it-news (Josef Lahmer) it-news at gugler.at
Tue Sep 23 07:16:48 GMT 2008


dear robin,

i'm interested in such a feature too.

Maybe you can do a little bit perl sorting than me:

I think you can start with following file:
/usr/share/otrs/Kernel/System/ITSMConfigItem.pm
Line 887 - 908
    $Self->{DBObject}->Prepare(
        SQL   => "SELECT id FROM configitem $WhereString ORDER BY
$OrderBy ASC",

calling from this file:
/usr/share/otrs/Kernel/Modules/AgentITSMConfigItemSearchResult.pm
--- line 104
    # start search
    my $SearchResultList =
$Self->{ConfigItemObject}->ConfigItemSearchExtended(
        %SearchAttribute,
        ClassIDs => [ $SearchAttribute{ClassID} ],
    );
----

but having a sorting link on the titles would be very great. => (note
for developers ;-) )

Regards,

josy

---------------------------------------
Ein schoner Buchrucken kann auch entzucken. Die gugler* Bindearten Kollektion ist da. 24 verschiedene und zum Teil au?ergewohnliche Bindearten verschaffen Uberblick und liefern wertvolle Ideen. Prasentiert in einer edlen, transparenten Acrylbox. Mehr Infos unter: www.gugler.at/bindearten-kollektion
gugler* denkt weiter.




More information about the itsm mailing list