Menu ▾ ▴

Default Sorting

Help
2015-11-18
2023-02-24
  • GIRARD Matthieu

    GIRARD Matthieu - 2015-11-18

    Hi all,
    i would like to set up the default sort to DESC instead of ASC. Is it possible ?

     
  • Jakub Vrána

    Jakub Vrána - 2015-11-18

    No, but there's an arrow that appears next to the column name that can be used for reverse sorting.

     
  • Radek Souček

    Radek Souček - 2020-04-27

    Ahoj Jakube,

    je po 5-ti letech vývoje Admineru tato možnost k dispozici a nebo je to beze změny?
    ... fakt mě moc nebaví muset neustále na tu šipku klikat :o)

    Díky za dobré zprávy.

    Radek

     
  • Jakub Vrána

    Jakub Vrána - 2021-02-07

    Asi by to šlo udělat nějakým pluginem.

     
    • Radek Souček

      Radek Souček - 2021-05-21

      To mě také napadlo, ale to je nad moje síly. A bohužel se zdá, že i nad síly kohokoliv jiného, neb nic takového jsem zatím nenašel. Tož, kdyby jsi se někdy nudil ... :o) .... a díky moc za to.

       
  • a3iuuu

    a3iuuu - 2023-02-24

    Maybe I found a solution but there is a problem when you save the file and it will maybe corrupted, so I suggest not to edit or be careful:

    Open the file "adminer.php" with a text editor and replace the following sub-string:

    <li><a href="'.h(ME).'select='.urlencode($Q).'"'.bold(

    with:

    <li><a href="'.h(ME).'select='.urlencode($Q).'&order%5B0%5D=id&desc%5B0%5D=1"'.bold(

     

    Last edit: a3iuuu 2023-02-24

Log in to post a comment.