[openads-Commits] r18041 - branches/6.6.0-develop-10428-xval/obj

0 views
Skip to first unread message

ejpri...@users.adullact.net

unread,
Jun 21, 2024, 9:37:45 AM (8 days ago) Jun 21
to openmairi...@googlegroups.com
Author: ejpritchard
Date: 2024-06-21 15:37:43 +0200 (Fri, 21 Jun 2024)
New Revision: 18041

Modified:
branches/6.6.0-develop-10428-xval/obj/utils.class.php
Log:
fix : Corriger le tri des documents platau dans la recuperation des annexes.

Modified: branches/6.6.0-develop-10428-xval/obj/utils.class.php
===================================================================
--- branches/6.6.0-develop-10428-xval/obj/utils.class.php 2024-06-21 13:23:16 UTC (rev 18040)
+++ branches/6.6.0-develop-10428-xval/obj/utils.class.php 2024-06-21 13:37:43 UTC (rev 18041)
@@ -7330,15 +7330,17 @@
instruction.instruction
FROM
%1$sinstruction
+ %2$s
WHERE
- instruction.dossier = \'%2$s\'
+ instruction.dossier = \'%3$s\'
AND om_fichier_instruction IS NOT NULL
- %3$s
%4$s
+ %5$s
ORDER BY
- %5$s DESC NULLS LAST
+ %6$s DESC NULLS LAST
LIMIT 1',
DB_PREFIXE,
+ $join_document_type_platau_uniquement,
$this->db->escapeSimple($dossier_id),
$search_conditions,
$search_document_type,

Reply all
Reply to author
Forward
0 new messages