User:Ttenbergen/Cargo holds query test: Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
Created page with "Template:Data Dependencies stores data for pages like Previous_Location field in Special:CargoTables/Data_Dependencies. Components field is stored as a list of pages. The Holds command works for some page names (eg x) but not others (eg cc). For the ones where it doesn't work, a partial page name with "LIKE" works. One difference between the pages is that the query seems to fail for pages that use Help:Magic_words#DISPLAYTITLE. for Pre-admit In..."
 
No edit summary
Line 1: Line 1:
[[Template:Data Dependencies]] stores data for pages like [[Previous_Location field]] in [[Special:CargoTables/Data_Dependencies]]. Components field is stored as a list of pages. The Holds command works for some page names (eg [[x]]) but not others (eg [[cc]]). For the ones where it doesn't work, a partial page name with "LIKE" works. One difference between the pages is that the query seems to fail for pages that use [[Help:Magic_words#DISPLAYTITLE]].
[[Template:Data Dependencies]] stores data for pages like [[Previous_Location field]] in [[Special:CargoTables/Data_Dependencies]]. Components field is stored as a list of pages. The Holds command works for some page names (eg [[x]]) but not others (eg [[cc]]). For the ones where it doesn't work, a partial page name with "LIKE" works. One difference between the pages is that the query seems to fail for pages that use [[Help:Magic_words#DISPLAYTITLE]].


for [[Pre-admit Inpatient Institution field]] it works
====for [[Pre-admit Inpatient Institution field]] it works====
{{#cargo_query:
{{#cargo_query:
tables=Data_Dependencies
tables=Data_Dependencies
Line 8: Line 8:
|format=ul}}
|format=ul}}


for [[Previous_Location field]] it doesn't work
====for [[Previous_Location field]] it doesn't work====
{{#cargo_query:
{{#cargo_query:
tables=Data_Dependencies
tables=Data_Dependencies
Line 15: Line 15:
|format=ul}}
|format=ul}}


with Components HOLDS LIKE 'Previous Location%' it works
====with Components HOLDS LIKE 'Previous Location%' it works====
{{#cargo_query:
{{#cargo_query:
tables=Data_Dependencies
tables=Data_Dependencies
Line 22: Line 22:
|format=ul}}
|format=ul}}


with Components HOLDS LIKE 'Previous Location %' it doesn't work
====with Components HOLDS LIKE 'Previous Location %' it doesn't work====
{{#cargo_query:
{{#cargo_query:
tables=Data_Dependencies
tables=Data_Dependencies

Revision as of 14:37, 6 June 2025

Template:Data Dependencies stores data for pages like Previous_Location field in Special:CargoTables/Data_Dependencies. Components field is stored as a list of pages. The Holds command works for some page names (eg x) but not others (eg cc). For the ones where it doesn't work, a partial page name with "LIKE" works. One difference between the pages is that the query seems to fail for pages that use Help:Magic_words#DISPLAYTITLE.

for Pre-admit Inpatient Institution field it works

for Previous_Location field it doesn't work

No results

with Components HOLDS LIKE 'Previous Location%' it works

with Components HOLDS LIKE 'Previous Location %' it doesn't work

No results