Difference between revisions of "Template:Assignment/checkAvailable"
From PCGamingWiki, the wiki about fixing PC games
m (single quotes -> double quotes to prevent SQL errors when single quotes are used in the page name) |
m (updated template to compare against new column) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
tables=Assignments | tables=Assignments | ||
|fields=Game | |fields=Game | ||
− | |where= | + | |where=EncodedName="{{urlencode:{{PAGENAME}}|PATH}}" AND Status = "available" |
|limit=1 | |limit=1 | ||
|format=template | |format=template |