From 64f3ee483b2148c773a404ca296836f7259a9670 Mon Sep 17 00:00:00 2001 From: pacien Date: Fri, 24 Feb 2023 22:08:49 +0100 Subject: mre: move minimal reproducible examples to develop branch Instead of having them in separate orphan branches. --- mre/mre_similar_tags_caps/readme.md | 49 +++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 mre/mre_similar_tags_caps/readme.md (limited to 'mre/mre_similar_tags_caps/readme.md') 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 @@ +# Minimal Reproducible Example + +Having two or more similar tags which differ only in their casing results in +the lowercase variant to be inserted instead of the other ones. + +## Reproduction steps + +1. Type `Test` in the tag input box and press enter. + +## Expected result + +The tag `Test` (starting with a capital letter) should be added to the search +query. + +## Actual result + +The tag `test` (starting with a lower case letter) is instead added to the +search query. + +## Version info + +Bug present in ldgallery v2.2. + +--- + +Having two or more similar tags which differ only in their casing results in +unrequested insertions in the query. + +## Reproduction steps + +1. Type `test` in the tag input box and press enter. +2. Press the enter key or click on the "Search" button, + one or multiple times! + +## Expected result + +It should just search for items with the `test` tag and display the result. + +## Actual result + +The tag `Test` is added to the input field even though it was never requested. +Trying to search again results in more instances of `test` and `Test` to be +added to the search field. + +No result is found because the resulting "forced" search query is wrong. + +## Version info + +Bug present in ldgallery v2.2. -- cgit v1.2.3