iGalerie

Vous n'êtes pas identifié(e).

Annonce

Un message d'erreur qui s'affiche ? Un mot de passe oublié ? L'ajout de fichier qui ne marche pas ?
Pensez d'abord à lire la FAQ, vous y trouverez probablement une solution à votre problème.

#1 06-11-2022 11:43:22

Knut
Membre
Lieu : Norway
Inscription : 27-12-2013
Messages : 72
Site Web

Sorting of images

Is it possible to control the sort parameter settings for search views v3.0.17?

I can control category views sort and image view sort in admin. That works fine.

I get different sorting of images in search compared to my setting in imagesviews of an album.

Ideally I would like to have same sort in search views as in setteing for images in album.
Knut

Dernière modification par Knut (06-11-2022 11:49:54)

Hors ligne

#2 06-11-2022 13:16:59

David
Développeur d'iGalerie
Inscription : 12-05-2006
Messages : 4 334
Site Web

Re : Sorting of images

Hi,

Try adding this line :

case 'search' :

after line 423 of the file includes/core/SQL.class.php :

case '' :

En ligne

#3 07-11-2022 12:50:51

Knut
Membre
Lieu : Norway
Inscription : 27-12-2013
Messages : 72
Site Web

Re : Sorting of images

Thank you David, this works fine for all normal seaches from the search box.

Only, when I click the 'new picture' label after having published new pictueres, they so not follow the same search criteria. I guess this is a search as well.
Knut

Hors ligne

Pied de page des forums