noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 08/13: Tag sorted alphabetically


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 08/13: Tag sorted alphabetically
Date: Wed, 11 Nov 2020 10:23:43 -0500 (EST)

sparkyx pushed a commit to branch master
in repository noalyss.

commit e5d6011a58c6e8251f25ee4d63cfe6bea9c5ddd6
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Wed Nov 11 00:24:56 2020 +0100

    Tag sorted alphabetically
---
 include/class/document.class.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/class/document.class.php b/include/class/document.class.php
index 64641f8..d7b7f87 100644
--- a/include/class/document.class.php
+++ b/include/class/document.class.php
@@ -1388,7 +1388,7 @@ class Document
                 if ( $aTag == NULL ) {
                     // retrieve comments
                     $aTag=$this->db->get_array("
-                       select t_tag from action_tags at2 join tags t 
using(t_id)  where ag_id=$1
+                       select t_tag from action_tags at2 join tags t 
using(t_id)  where ag_id=$1 order by upper(t_tag)
                             "
                             ,[$p_array['ag_id']]);
                 }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]