Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
InoculateIT
Experienced
Topic Author
Posts: 85
Joined: 08 Jun 2010, 15:04

Sorting folder fails

21 Aug 2021, 08:08

Hi

I've discovered that recently sorting folders has started to fail and ignoring the settings :(

Some folders I will have sorted differently, so if I click on sort by date either newest or oldest it does not do it correctly and can see in the page.json file that it actually needs to write the following in the file:

        "sortby": "date"
    },
    "gallery": {
        "sort": "asc"
    }
}

When I set it in the panel its only writing this:
        "sortby": "date"
    },

I was working back in time, just not anymore :(
The spelling mistakes has been inserted automatically of consideration to the people who find a great pleasure to search for it...
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: Sorting folder fails

21 Aug 2021, 09:23

When you save data from panel, it will EXLUDE (remove) options that are default. The advantage, is that you can change global settings, and they will be inherited on all pages (except for page settings that differ from global settings).

So the issue is not clear. You need to provide a link with 1) how you want is sorted, and 2) how it is sorted. Ignore what you see in the page.json file.
 
User avatar
InoculateIT
Experienced
Topic Author
Posts: 85
Joined: 08 Jun 2010, 15:04

Re: Sorting folder fails

25 Aug 2021, 02:44

Sorry, my fault :D

Changed the settings in the wrong place :D
The spelling mistakes has been inserted automatically of consideration to the people who find a great pleasure to search for it...