Difference between revisions of "Template: GetMaxPrivateEditionReleaseDate"

From Genesys Documentation
Jump to: navigation, search
m (1 revision imported)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<!-- Finding the MAX PrivateEditionReleaseDate and passing that and ComponentId to formatting template -->
+
<includeonly><!-- Finding the MAX PrivateEditionReleaseDate and passing that and ComponentId to formatting template -->
 
{{#cargo_query:
 
{{#cargo_query:
tables=ComponentRN,Component
+
tables=
|join on=ComponentRN.ComponentId HOLDS Component.Id
+
ComponentRN,
|fields=ComponentRN.ComponentId=ComponentId,MAX(PrivateEditionReleaseDate)=PrivateEditionReleaseDate
+
Component
|where=ComponentId HOLDS '1bff5e74-a889-4bb8-b75a-8d721f63766e' AND PrivateEditionReleaseDate="2022-04-20"
+
|join on=ComponentRN.ComponentId=Component.Id
|format=table
+
|fields=
 +
ComponentRN.ComponentId=ComponentId,
 +
MAX(PrivateEditionReleaseDate)=PrivateEditionReleaseDate
 +
|where=
 +
ComponentRN.ComponentId="{{{ComponentId|}}}"
 +
AND PrivateEditionReleaseDate IS NOT NULL
 +
AND ComponentRN._pageNamespace="{{NAMESPACENUMBER}}"
 +
|format=template
 
|template=GetContainers
 
|template=GetContainers
 
|named args=yes
 
|named args=yes
}}
+
}}</includeonly><noinclude>[[Category:PrivateEdition]][[Category:ComponentRN.ComponentId cleanup]]</noinclude>

Latest revision as of 20:29, May 25, 2022