Changes for page Predoctoral staff: historical record
Last modified by Ricardo Julio Rodríguez Fernández on 2025/07/13 08:08
From version 9.1
edited by Ricardo Julio Rodríguez Fernández
on 2024/01/16 15:18
on 2024/01/16 15:18
Change comment:
There is no comment for this version
To version 16.1
edited by Ricardo Julio Rodríguez Fernández
on 2024/01/17 07:20
on 2024/01/17 07:20
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,3 +1,5 @@ 1 +{{sortable_tables filterable="yes" sticky="yes"/}} 2 + 1 1 {{groovy}} 2 2 import groovy.sql.Sql 3 3 ... ... @@ -4,12 +4,9 @@ 4 4 def sql = new Sql(services.component.getConnection()) 5 5 6 6 println "|=Pid|= Surname|= Name|= Category" 7 - sql. eachRow("SELECT PersonnelID,Surname,Name,Category FROM IGFAE_Personnel ORDER BY Surname"){8 - println "|${it.PersonnelID}|${it.Surname}|${it.Name}|${it.Category}" 9 + sql.rows("SELECT PersonnelID,Surname,Name,Category FROM IGFAE_Personnel ORDER BY Surname").each{ 10 + println "|${it.PersonnelID}|${it.Surname}|${it.Name}|${it.Category}" 9 9 } 10 10 sql.close() 11 11 12 12 {{/groovy}} 13 - 14 -Page reference: {{velocity}}$doc.documentReference{{/velocity}} 15 -