Difference between revisions of "Form:Query concept"
From TDWG Terms Wiki
m (debug auto completion vann:termGroup) |
m (debug auto completion vann:termGroup) |
||
Line 25: | Line 25: | ||
|- | |- | ||
| Collection: | | Collection: | ||
− | | {{{field|collection|input type=text with autocomplete|size=100|values from property= | + | | {{{field|collection|input type=text with autocomplete|size=100|values from property= vann:termGroup|remote autocompletion}}} |
|} | |} | ||
{{{end template}}} | {{{end template}}} |
Latest revision as of 15:02, 21 January 2020
This is the “Query concept” form for running a query at Special:RunQuery/Query concept. It uses the template: Query concept.
Technical notes:
- automatic completion on input does not work at the moment: some how the requested property page gets capitalized in the web request even when a lower case is specified, e.g.
values from property=vann:termGroup
will be requested asVann:termGroup
in e.g. https://terms.tdwg.org/w/api.php?action=sfautocomplete&format=json&property=Vann:termGroup
&substr=abc but https://terms.tdwg.org/w/api.php?action=sfautocomplete&format=json&property=vann:termGroup
&substr=abc would be correct instead. --Andreas Plank (talk) 14:11, 15 January 2020 (CET)