Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug - Search does not take entered values when executed by pressing enter button instead of clicking "search" #586

Open
arminarmin opened this issue Aug 13, 2024 · 3 comments
Labels
1 - 🐞 bug 🐞 An issue with the system. 4 - verified This issue or pull request was verified.

Comments

@arminarmin
Copy link

Environment

  • Server OS: Oracle Linux
  • Browser: Google Chrome 127.0.6533.89
  • Znuny version: 7.0

Expected behavior

  1. I want to search for a ticket by providing the ticket-number.
  2. I click on the lens-icon in the top bar.
  3. I enter the ticket-number in the filter field "Ticket#".
  4. I press enter.
  5. The Znuny System opens the ticket.

Actual behavior

  1. I want to search for a ticket by providing the ticket-number.
  2. I click on the lens-icon in the top bar.
  3. I enter the ticket-number in the filter field "Ticket#".
  4. I press enter.
  5. The Znuny System opens an overview of a number of tickets. It seems that the entered value in the field "Ticket#" is not transferred.

How to reproduce

  1. Click on the "lens-icon" in the top bar.
  2. Enter a valid ticket-number in the filter-field "ticket#".
  3. Press enter on keyboard to execute the search-query.

Additional information

When you click on the "search"-button instead it works as expected.

@arminarmin arminarmin changed the title Bug - Search does not take entered values when executed by pressing enter Bug - Search does not take entered values when executed by pressing enter button insted of clicking "search" Aug 13, 2024
@hanneshal hanneshal changed the title Bug - Search does not take entered values when executed by pressing enter button insted of clicking "search" Bug - Search does not take entered values when executed by pressing enter button instead of clicking "search" Aug 13, 2024
@hanneshal
Copy link

Hi @arminarmin,

we are talking about the toolbar icon, not the toolbar instant search, correct?

grafik

Some additional information for the dev to fix this:
This (submit on enter) works fine when the fulltext field is still in the view.
If the field is removed, "enter to submit" functions are no longer working.

Second info:
Toolbar Search works fine, c&p the ticket number, hit enter, bingo.

Regards

@hanneshal hanneshal added 1 - 🐞 bug 🐞 An issue with the system. 4 - verified This issue or pull request was verified. labels Aug 13, 2024
@arminarmin
Copy link
Author

Hey,
thx alot for the quick reply!

Yes, we are talking about the toolbar-icon (1)

I did a quick test right now with the toolbar instant search (2):

  1. Enter a valid ticket number into the field
  2. Press enter on keyboad to submit the search-query
  3. Same result, it doesnt show the exact ticket, it shows a number of tickets.

Regards :)

@hanneshal
Copy link

@arminarmin
we try.
But I can not reproduce this behaviour.
Either you have a prefix in front of the actual number or there are more tickets which match (articles, notes..) to this number.

Monosnap screencast 2024-08-14 16-28-10

Also please note: this issue is related to the missing submit action and my information were just some notes for the devs.
Nothing else should be discussed here, otherwise we wont get anyhting done. ;)

Regards
Johannes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1 - 🐞 bug 🐞 An issue with the system. 4 - verified This issue or pull request was verified.
Development

No branches or pull requests

2 participants