Content
View differences
Updated by Henriette Darge almost 4 years ago
### Steps to reproduce
1. Login as a user with permissions
2. Click into the "Search ..." field in on top of the top bar OpenProject Website
3. Search for a work package ID (which exists for sure) and press Enter
1. For the example we use The webpage 7785
4. Repeat step 3 multiple times, and try to press enter fast after entering the ID does exitist
### What is the buggy behavior?
* If I am searching for an ID, the search result after clicking enter on the keyboard does give different results
* **Option 1:** for example:
\- I type 7785 click on the Enter Bottom on the keyboard one time:
\- The correct work package opens and right webpage open, the search field "Search ..." is empty afterwards: after
<figure class="image op-uc-figure" style="width:50%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/33643/content"></div></figure>
* **Option 2:**
* \- I type 7785 click on the Enter Bottom on the keyboard one time, again
\- The global search with title "_Search for "7785" in ProjectName and right webpage open, the field "Search ..." is empty after
\- I type 7785 click on the Enter Bottom on the keyboard one time, 3rd time
\- Webpage **Search for** _**"7785"**_ **in ProjectName** _**and all subprojects_" opens and search subprojects** open, the field "Search ..." does still have the value 7785
* The work package is not listed in the results
<figure class="image op-uc-figure" style="width:50%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/33638/content"></div></figure>
* 7785_
_**\-** Because the value 7785 still is in the "Search ..." Field, I just klick again Enter on the Keyboard which leads to the global search Keyboard_
_\- Webpage **Search for _"" "" in ProjectName and all subprojects_ (note that subprojects** open again, but the search value Search for Value is "" instead of 7785) the value 7785_
<figure class="image op-uc-figure" style="width:50%;"><div style="width:75%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/33641/content"></div></figure>
_**\-** If I type in any other ID now the "Search ..." Field result is **Search for "**the value of the Search Field**" in ProjectName and all subprojects** open,_
_but without any result in the list_
<figure class="image op-uc-figure" style="width:75%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/33638/content"></div></figure>
### What is the expected behavior?
1. When searching for an existing ID and pressing enter, I The "Search ..." Field function should give always land per default on the work package page
2. If I select to search in a different scope (e.g project right result
### Important note
### **Logs**
###
Screenshots and all subprojects), other files
See "What is the work package should be listed in the result set
1. The search bar should be cleared afterwards buggy behavior?"
### Environment information
**OpenProject installation type**
* [ ] Hosted cloud edition
* [x] Packaged installation
* What distribution? Linux Ubuntu 18.04 LTS
* [ ] Docker All-in-one container
* [ ] Docker-compose installation
* [ ] Other (please specify)
**OpenProject version**
_v12.1.4_
**Browser**
* [ ] Chrome
* [ ] Firefox
* [ ] Safari
* [ ] Mobile Safari
* [x] Other (please specify)
Edge
**Language**
Browser DE
OpenProject EN
1. Login as a user with permissions
2. Click into the "Search ..." field in
3. Search for a work package ID (which exists for sure) and press Enter
1. For the example we use
4. Repeat step 3 multiple times, and try to press enter fast after entering the ID
### What is the buggy behavior?
* If I am searching for an ID, the search result after clicking enter on the keyboard does give different results
* **Option 1:**
\- I type 7785 click on the Enter Bottom on the keyboard one time:
\-
<figure class="image op-uc-figure" style="width:50%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/33643/content"></div></figure>
* **Option 2:**
*
\-
\- I type 7785 click on the Enter Bottom on the keyboard one time, 3rd time
\- Webpage **Search for** _**"7785"**_ **in ProjectName** _**and
* The work package is not listed in the results
<figure class="image op-uc-figure" style="width:50%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/33638/content"></div></figure>
*
_**\-**
_\- Webpage **Search
<figure class="image op-uc-figure" style="width:50%;"><div
_but without any result in the list_
<figure class="image op-uc-figure" style="width:75%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/33638/content"></div></figure>
1. When searching for an existing ID and pressing enter, I
2. If I select to search in a different scope (e.g project
### Important note
### **Logs**
###
Screenshots
See "What is
1. The search bar should be cleared afterwards
### Environment information
**OpenProject installation type**
* [ ] Hosted cloud edition
* [x] Packaged installation
* What distribution? Linux Ubuntu 18.04 LTS
* [ ] Docker All-in-one container
* [ ] Docker-compose installation
* [ ] Other (please specify)
**OpenProject version**
_v12.1.4_
**Browser**
* [ ] Chrome
* [ ] Firefox
* [ ] Safari
* [ ] Mobile Safari
* [x] Other (please specify)
Edge
**Language**
Browser DE
OpenProject EN