We recommend reviewing what is submitted before posting, in case your idea has already been submitted by another community member. If it has been submitted, vote for that existing feature request (by clicking the up arrow) to increase its opportunity of being added to Cireson solutions.
For more information around feature requests in the Cireson Community click here.
Alphabetise the Query Results field on the Portal
It would be great if this was sorted Alphabetical Order (A-Z) by default
It should sort from the left-most column.
To add to this, I have created a simple javascript which sorts all Query Result fields (If it has 1 column, it sorts that column. If it has multiple columns, it sorts the right-most column). It's not perfect, but it's a good start point.
$(function(){
$(".k-link").click();
});
Comments
I am trying to use the above script with a couple of changes.
Changed this line as suggested above
The script was not running and found the error code related to a problem with the event alias (.load) in that script being out of date.
So changed this
replaced with this
So my script is as below
However I am getting the following results when running
It seems the problem is because we have the 'Request Offering Query Result Picker' switch on in the Portal features, so the JS is loosing the 'Column' to hook onto. When we switch the feature off, the script works and Alphabetises the results.
Is anyone using this script with the same feature turned on, and has found a way around this?
Just to confirm, to test we switched the feature off on the portal and the query runs fine and sorts all of the Results.
Hi Dean,
I was just exchanging mails about this thing with @seth_coussens the other day. I logged an SR regarding the alphabetical sorting on the support page and actually @Tony_Collett , the OP of this thread wanted to help me with this [thanks again Tony :) ], but after exchanging a few mails we decided it would be best to pass to the torch to Seth regarding this so the devs can work on improving the query picker.
I collected some of the threads to improve the query picker , mixed in some of my own ideas , so hopefully something will come out of this in the future and the alphabetical sorting will be OOB "functionality" ?