Opened 12 years ago
Closed 12 years ago
#7236 closed feature (notabug)
$_GET[term] announse in documentation
Reported by: | richardho | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.9.0 |
Component: | ui.autocomplete | Version: | 1.8.11 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Hi,
It is of high value if the document could be updated with information on the search.php file under autocomplete -> datasource. It would be highly valuable to get information on the formation of the file as well as how to query the file. I would recommend to give following information about the solution:
syntax of search.php: header('Content-type: application/json'); [{"value": "Jane", "id": 12}, {"value": "Tom", "id": 13}, {"value": "Jones", "id": 15}]
and the querypart:
A query (term=) will be sent to the PHP file, witch allows you to give a limited list as a result.
Anyhow, thanx for a great an beautiful solution.
We don't document server-side solutions. We document what output is necessary, not how to generate it.