You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ce qui pose problème dans les conditions qui suivent. <IF COND="[#NBLIGNES] GT 1">
Pour palier à ce problème, j'ai corrigé en supprimant DISTINCT() et ajoutant GROUPBY="idtype"
<LOOP NAME="entrees_raccourcis" TABLE="entrytypes, entries" SELECT="idtype, type, title, altertitle, lang" WHERE="type LIKE 'mot%cle%' AND entries.idtype = entrytypes.id" ORDER="entrytypes.rank" GROUPBY="idtype">
The text was updated successfully, but these errors were encountered:
Bonjour,
dans le fichier macros_entrees, la boucle entrees_raccourcis pose problème.
https://github.com/edinum/nova/blob/ebb1019646d6d2f7283a882e2678ceafd8711954/macros_entrees.html#L40-L44
Le résultat de la requête est bon, mais les variables [#NBLIGNES] & [#NBRESULTATS] retourne le nombre d'item sans le DISTINCT.
Ce qui pose problème dans les conditions qui suivent.
<IF COND="[#NBLIGNES] GT 1">
Pour palier à ce problème, j'ai corrigé en supprimant DISTINCT() et ajoutant GROUPBY="idtype"
<LOOP NAME="entrees_raccourcis" TABLE="entrytypes, entries" SELECT="idtype, type, title, altertitle, lang" WHERE="type LIKE 'mot%cle%' AND entries.idtype = entrytypes.id" ORDER="entrytypes.rank" GROUPBY="idtype">
The text was updated successfully, but these errors were encountered: