diff options
Diffstat (limited to 'mre/mre_similar_tags_caps/readme.md')
-rw-r--r-- | mre/mre_similar_tags_caps/readme.md | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/mre/mre_similar_tags_caps/readme.md b/mre/mre_similar_tags_caps/readme.md new file mode 100644 index 0000000..1a00e52 --- /dev/null +++ b/mre/mre_similar_tags_caps/readme.md | |||
@@ -0,0 +1,49 @@ | |||
1 | # Minimal Reproducible Example | ||
2 | |||
3 | Having two or more similar tags which differ only in their casing results in | ||
4 | the lowercase variant to be inserted instead of the other ones. | ||
5 | |||
6 | ## Reproduction steps | ||
7 | |||
8 | 1. Type `Test` in the tag input box and press enter. | ||
9 | |||
10 | ## Expected result | ||
11 | |||
12 | The tag `Test` (starting with a capital letter) should be added to the search | ||
13 | query. | ||
14 | |||
15 | ## Actual result | ||
16 | |||
17 | The tag `test` (starting with a lower case letter) is instead added to the | ||
18 | search query. | ||
19 | |||
20 | ## Version info | ||
21 | |||
22 | Bug present in ldgallery v2.2. | ||
23 | |||
24 | --- | ||
25 | |||
26 | Having two or more similar tags which differ only in their casing results in | ||
27 | unrequested insertions in the query. | ||
28 | |||
29 | ## Reproduction steps | ||
30 | |||
31 | 1. Type `test` in the tag input box and press enter. | ||
32 | 2. Press the enter key or click on the "Search" button, | ||
33 | one or multiple times! | ||
34 | |||
35 | ## Expected result | ||
36 | |||
37 | It should just search for items with the `test` tag and display the result. | ||
38 | |||
39 | ## Actual result | ||
40 | |||
41 | The tag `Test` is added to the input field even though it was never requested. | ||
42 | Trying to search again results in more instances of `test` and `Test` to be | ||
43 | added to the search field. | ||
44 | |||
45 | No result is found because the resulting "forced" search query is wrong. | ||
46 | |||
47 | ## Version info | ||
48 | |||
49 | Bug present in ldgallery v2.2. | ||