Page 1 of 1

Can't adjust the order of the columns

Posted: 11 Jan 2024, 22:13
by manuel
In the 0.9.2 version working with php5.38 you had the possibility to adjust the order of the columns.
A very handy and usefull feature .
I noticed that in the latest version it isn't working anymore.
Is there a possibilty to repair this?

Kind regards
Manuel

Re: Can't adjust the order of the columns

Posted: 12 Jan 2024, 11:01
by RussH
very quick fix,

in /ajax/getDataGridPager.php, line 43, replace;

$parameters = json_decode($_REQUEST['p']);

with

$parameters = json_decode($_REQUEST['p'],true);

This works for me on my 'work in progress' php 8.2 test version which is the only one I have available right now - so should work for your version, too.

Re: Can't adjust the order of the columns

Posted: 12 Jan 2024, 16:43
by manuel
It does work.
Thank you.
It even solved another issue at the Dashboard/Home screen

If you clicked the labels in the section Important Candidates to sort the column at date, name and so forth the section
turned empty. Now it's working and sorting as it used to be.

Kind regards,
Manuel

Re: Can't adjust the order of the columns

Posted: 12 Jan 2024, 17:20
by RussH
have pushed this quick fix to github;
https://github.com/opencats/OpenCATS/pull/633

Re: Can't adjust the order of the columns

Posted: 12 Mar 2024, 03:31
by Thomas Frank
RussH wrote:very quick fix,

in /ajax/getDataGridPager.php, line 43, replace;

$parameters = json_decode($_REQUEST['p']);

with Buckshot Roulette

$parameters = json_decode($_REQUEST['p'],true);

This works for me on my 'work in progress' php 8.2 test version which is the only one I have available right now - so should work for your version, too.
Fantastic! This method works like a charm. I appreciate it.