• Resolved misterfu

    (@misterfu)


    Hi Support,

    First – I love your plugin and I am happy that I have purchased it, it’s so super helpful. My ‘official’ support ended Dec 2020, but maybe there is still a chance somebody reads this here? 😉

    Unfortunately, it seems there is a bug when ordering media files by filename before I add them to a gallery, see for example:

    https://www.jawattdenn.de/saison/2020-2021-regionalliga-west/sc-wiedenbrueck-rot-weiss-essen.html#Fotos_by_ME

    There is a section “Fotos by M.E.” and it includes multiple fotos. ​I have re-created the gallery multiple times already and always order the files by name, but the images are still ordered wrong, e.g.

    20210116_RWL_22_SCW_RWE0039.jpg
    is *wrongly before* ​
    20210116_RWL_22_SCW_RWE0004.jpg

    So is it possible that there is a small bug?

    Thanks in advance!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Bruce

    (@ninjateamwp)

    Hi @misterfu ,

    Thanks for using FileBird PRO, please note that it is not a bug, the gallery does not have “sorting” option yet.

    But this as been suggested to our developers for consideration and we hope to have it later.

    Thank you.

    Kind regards,
    -Bruce-

    Thread Starter misterfu

    (@misterfu)

    Hi @ninjateamwp!

    Thanks for the quick response. Maybe it did not become very clear in my initial post why I’m sure that this is related to a sorting-bug in Filebird. Let me try to explain in more detail:

    To avoid any confusion, let’s not talk about galleries and how something is displayed in the frontend. It’s also happening in the backend.

    If I select the Filebird Media Library and navigate to one of the folders I have created, I can sort files by name ASC or DESC.

    First image I can see in the main grid view has filename

    20210116_RWL_22_SCW_RWE0001.jpg (OK)

    By already the second image in the grid view is:

    20210116_RWL_22_SCW_RWE0010.jpg (NOK)

    It goes on with:

    20210116_RWL_22_SCW_RWE001[1-9].jpg

    Before then this image is listed:

    20210116_RWL_22_SCW_RWE0002.jpg
    etc.

    That’s why I think there is a small bug in the filename ordering. Maybe the zeros are stripped from the filename, just a guess?

    Plugin Support Bruce

    (@ninjateamwp)

    Hi @misterfu ,

    I think the sorting logic is correct, but maybe you just don’t understand it?

    Could you please copy up to 5 file names and arrange them according to how they have been sorted using the “sort files by name ASC” ?

    Let me see how it looks like again!

    Thank you.

    Kind regards,
    -Bruce-

    Thread Starter misterfu

    (@misterfu)

    @ninjateamwp

    I am using “Sort Files – By Name – Name Ascending” and this is the order order the first 15 images:

    20210116_RWL_22_SCW_RWE0001.jpg
    20210116_RWL_22_SCW_RWE0010.jpg
    20210116_RWL_22_SCW_RWE0011.jpg
    20210116_RWL_22_SCW_RWE0012.jpg
    20210116_RWL_22_SCW_RWE0013.jpg
    20210116_RWL_22_SCW_RWE0014.jpg
    20210116_RWL_22_SCW_RWE0015.jpg
    20210116_RWL_22_SCW_RWE0016.jpg
    20210116_RWL_22_SCW_RWE0017.jpg
    20210116_RWL_22_SCW_RWE0018.jpg
    20210116_RWL_22_SCW_RWE0019.jpg
    20210116_RWL_22_SCW_RWE0002.jpg
    20210116_RWL_22_SCW_RWE0020.jpg
    20210116_RWL_22_SCW_RWE0021.jpg
    20210116_RWL_22_SCW_RWE0022.jpg
    etc.

    Can you see the issue now?

    0002 is listed between 0019 and 0020. This is not correct, it should of course be listed directly after 0001 (which e.g. the ‘ls’ command in the shell does).

    Thanks in advance.

    Plugin Support Bruce

    (@ninjateamwp)

    Hi @misterfu ,

    Thanks for the feedback that gives more insight.
    In this case, please contact our team here to have a Team check for this:
    ninjateam.wp@gmail.com

    Kind regards,
    -Bruce-

    Thread Starter misterfu

    (@misterfu)

    @ninjateamwp Thank you – just reached out to them!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Bug when ordering filenames ascending?’ is closed to new replies.