Formatting of scrips collection

Hi all,

It seems very odd to me that the pages which lists scrips don’t
link the template name to the actual template page, so I decided
to try and do so, however I’m running into some problems. The
query which fetches the collection is something like:

SELECT * FROM Scrips WHERE (Queue = ‘0’) ORDER BY Description;

Where the returned column Template is the ID of the associated
template. Yet, share/html/Admin/Elements/EditScrips’ format
Template is turned into the template name when displayed,
and I cannot find anything that would be doing this…

I’ve checked ParseFormat, CollectionList, Scrips &

We obviously want to have the name for display purposes, but the ID
is necessary for linking by changing Template in $Format to:

.qq{'<a href="__WebPath__$dir_path/Template.html?Template=__***__&Queue=$id">__Template__</a>'};

Any ideas? TIA

Cambridge Energy Alliance: Save money. Save the planet.