[rt-users] How to AllowSorting in AssetList in SelfService

Dimitris Maniadakis chaniadimitris at yahoo.gr
Wed Oct 26 10:04:17 EDT 2016


Hello, please any ideas - solutions on this?
When changing the "AllowSorting" value to "1", still sorting does not respond.
Are further changes needed?

Dimitris




On Tuesday, October 25, 2016 4:08 PM, Dimitris Maniadakis via rt-users <rt-users at lists.bestpractical.com> wrote:
Hello everybody,

I need your help on the following, please.

I would like to allow sorting of the Asset List in the SelfService.
I create a copy (Customization with local dir) of the relevant file /opt/rt4/share/html/User/Elements/AssetList
in the local dir: /opt/rt4/local/html/User/Elements/AssetList

There, I change the "AllowSorting" value to "1".

Then, the user can actually click on the column header to sort each column.
However, the generated url appears not to be working!
For example, the generated url when trying to sort based on the "Name" is:

https://................/SelfService/Asset/index.html?Format=%0A%20%20%20%20%27%3Cb%3E%3Ca%20href%3D%22__WebHomePath__%2FAsset%2FDisplay.html%3Fid%3D__id__%22%3E__id__%3C%2Fa%3E%3C%2Fb%3E%2FTITLE%3A%23%27%2C%0A%20%20%20%20%27%3Cb%3E%3Ca%20href%3D%22__WebHomePath__%2FAsset%2FDisplay.html%3Fid%3D__id__%22%3E__Name__%3C%2Fa%3E%3C%2Fb%3E%2FTITLE%3AName%27%2C%0A%20%20%20%20Description%2C%0A&Order=ASC&OrderBy=Name&Page=1

As you may see the url contains the $Format! I cannot find a way to get rid of it. Any ideas?


Thanks in advance!
Dimitris



More information about the rt-users mailing list