Mercurial > p > roundup > code
comparison doc/upgrading.txt @ 5194:3124be3cc197
Hopefully making the doc for the query editing feature less confusing.
| author | rouilj@uland |
|---|---|
| date | Tue, 14 Mar 2017 18:38:46 -0400 |
| parents | 302e3a1a7190 |
| children | e0732fd6a6c7 |
comparison
equal
deleted
inserted
replaced
| 5193:cfd6d1f2caa1 | 5194:3124be3cc197 |
|---|---|
| 397 not need it. | 397 not need it. |
| 398 | 398 |
| 399 Improve query editing | 399 Improve query editing |
| 400 --------------------- | 400 --------------------- |
| 401 | 401 |
| 402 The query editing interface will now report an error if the user | 402 If a user creates a query with the same name as one of their existing |
| 403 creates a new query that they are already using. By default the query | 403 queries, the query editing interface will now report an error. By |
| 404 editing page (issue.search.html) displays the index page when the | 404 default the query editing page (issue.search.html) displays the index |
| 405 search is triggered. Since the user expects to see the results of the | 405 page when the search is triggered. This is usually correct since the |
| 406 query, this is usually the right thing. But now that the code properly | 406 user expects to see the results of the query. But now that |
| 407 checks for duplicate search names, the user should stay on the search | 407 the code properly checks for duplicate search names, the user should |
| 408 page if there is an error. To add this to your existing | 408 stay on the search page if there is an error. To add this to your |
| 409 index.search.html page, add the following line after the hidden field | 409 existing index.search.html page, add the following line after the |
| 410 @old-queryname: | 410 hidden field @old-queryname: |
| 411 | 411 |
| 412 <input type="hidden" name="@template" value="index|search"/> | 412 <input type="hidden" name="@template" value="index|search"/> |
| 413 | 413 |
| 414 With this addition, the index template is displayed if there is no | 414 With this addition, the index template is displayed if there is no |
| 415 error, and the user stays on the search template if there is an error. | 415 error, and the user stays on the search template if there is an error. |
