Content deleted Content added
No edit summary
No edit summary
Line 5:
|join on=Amendments.PolicyHeader=Policies._pageName
|fields=CONCAT("[https://thepolicyhub.org.uk/wiki/Special:FormEdit/Amendments/", Amendments._pageName, "?returnto=BackSA ", Policies.PolicyID, "]")=Policy ID , CONCAT("[https://thepolicyhub.org.uk/wiki/Special:FormEdit/Amendments/", Amendments._pageName, "?returnto=BackSA ", Amendments.Description, "]")=Amendment, Amendments.Type, CONCAT("[[", Policies._pageName, '|',Policies.Policy, "]]")=Original Policy, Amendments.Approved, Amendments.Status
|where=Policies.PolicyID LIKE "%{{{policyid|}}}%" AND Amendments.Status IS NULL OR Policies.Policy LIKE "%{{{policy|}}}%" AND Amendments.PolicyHeader=Policies._pageName AND Amendments.Status="{{{status|}}}"
|order by=Policies.PolicyID,Amendments._pageName
}}

Revision as of 13:43, 31 July 2021

Used to carry out a search on all amendments and new policies. Uses Form:Search Amendments Admin