Activating $serialize_dir_data *sometimes* reverses the order of my photos.
I'm using TWG 2.1 and sorting my pictures by file name.
Globally, I have set $sort_images_ascending = false;, so I can add new ones by simply increasing a counter.
Locally (in two of the config.php files residing in the pictures folders) I reversed the order by setting $sort_images_ascending=true; - these are complete albums which are are simply uploaded the way they were taken.
Now, enabling $serialize_dir_data *sometimes* reverses the order. Performing any operation in the gallery folder (touching a file) fixes the issue temporarily, as the cache is re-generated then (I guess).
I deactivated the serialization for now, as the changing order really bugs me. I guess when the cache is generated, it does not obey the local config.php? Second guess, it *does* obey it, but the gallery-viewing code does not care whether the information was obtained directly from the file system (sorted ascending) or from cache, so the order gets reversed twice if cached.
Does that include all necessary information?
Thanks in advance.