Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Order folders alphabetically

    Surfer
    surfer feature-request
    2
    6
    287
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • jdaviescoates
      jdaviescoates last edited by jdaviescoates

      If I visit https://files.uniteddiversity.coop/Cooperatives/ I can click on Name to reorder, but there is no ordering that puts the folders in alphabetical order (whereas what I'd like is for the default ordering to be for everything to be listed alphabetically, but with Folders listed first - like it is in most file browsers - currently there seems to be no way of having both the folders first and having everything listed alphabetically)

      I use Cloudron with Gandi & Hetzner

      1 Reply Last reply Reply Quote 1
      • nebulon
        nebulon Staff last edited by

        Hm I guess it makes sense to always keep folders first even without letting this be configured and then apply the sorting on folders/files individually? Otherwise I am not sure where this should be configured and stored on such public views.

        1 Reply Last reply Reply Quote 1
        • jdaviescoates
          jdaviescoates last edited by jdaviescoates

          Bump.

          Just do whatever you did to do the same for File Manager?

          It doesn't need to be configurable, just to function like pretty much every file manager ever functions, i.e. folders always at the top. default to in alphabetical order, then into reverse order when you click on Name column.

          This order in the File Manager is correct (and currently impossible on Surfer):

          Correct.png

          I use Cloudron with Gandi & Hetzner

          1 Reply Last reply Reply Quote 0
          • nebulon
            nebulon Staff last edited by nebulon

            Well the two projects have really nothing in common code wise, have to see how this can be done with the element ui toolkit in surfer.

            If anyone knows how to do this in element, the code parts are at https://git.cloudron.io/cloudron/surfer/-/blob/master/frontend/public.html#L56

            jdaviescoates 1 Reply Last reply Reply Quote 1
            • jdaviescoates
              jdaviescoates @nebulon last edited by

              @nebulon said in Order folders alphabetically:

              Well the two projects have really nothing in common code wise, have to see how this can be done with the element ui toolkit in surfer.

              Ah, I only really suggested that because @girish did elsewhere too! 🙂

              I use Cloudron with Gandi & Hetzner

              1 Reply Last reply Reply Quote 0
              • nebulon
                nebulon Staff last edited by

                I've released the new surfer version which has this fixed. The update is currently only available when checked for manually.

                1 Reply Last reply Reply Quote 2
                • First post
                  Last post
                Powered by NodeBB