ejpri...@users.adullact.net
unread,Jun 21, 2024, 9:37:45 AM (8 days ago) Jun 21Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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,