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

Changing ticket's issue summary causes the ticket unsearchable #6650

Open
2 of 4 tasks
swippy opened this issue Dec 19, 2023 · 0 comments
Open
2 of 4 tasks

Changing ticket's issue summary causes the ticket unsearchable #6650

swippy opened this issue Dec 19, 2023 · 0 comments

Comments

@swippy
Copy link

swippy commented Dec 19, 2023

Prerequisites

  • Can you reproduce the problem in a fresh installation of the "develop" branch?
  • Do you have any errors in the PHP error log, or javascript console?
  • Did you check the osTicket forums?
  • Did you perform a cursory search to see if your bug or enhancement is already reported?

For more information on how to write a good bug report

Description

Editing the ticket (Issue Summary) causes searching the ticket using the new subject (issue summary) to be failed (or unsearchable).

Steps to Reproduce

  1. As a client, create a new ticket with any Issue Summary (i.e. "Charging failure")
  2. Open the ticket, click the Edit button, change the Issue Summary field (i.e. "Purchase failure"), then click the Update button

image

image

  1. Now go to the Tickets, type the keyword using the new subject (i.e. "Purchase"), then click the Search button.
    It will show no results ("Your query did not match any records") and its header remains unchanged ("Showing 1 - x of x Open Tickets"). So, we have 2 issues here.

image

  1. If we typed the keyword using the previous subject (before the editing, i.e. "Charging"), then it will show a result (the ticket that has "Purchase failure" as its subject). Again, its header is also unchanged ("Showing 1 - x of x Open Tickets").

image

Expected behavior:
When we changed the issue summary (or issue subject), we should be able to search the ticket using the keyword of the new issue summary/subject, not the old one (when the first time the user created the ticket).
And, the header information ("Showing 1 - x of x Open Tickets") should updated accordingly.

Actual behavior:
It failed to search the ticket using the keyword of any substring of the edited issue summary, but it returns the search result if we use the keyword of any substring from the previous issue summary (precisely, the original issue summary).
And, the header is always unchanged ("Showing 1 - x of x Open Tickets") upon the search or when we reset the search.

Versions

Admin panel -> Dashboard -> Information which also additionally gives you information about your server.

image

Also, please include the OS and what version of the OS you're running. As well as your browser and browser version.

Using osTicket docker (can be found in here: https://github.com/devinsolutions/docker-osticket), running on CentOS Linux release 7.9.2009 (Core) host.
Browser used is Firefox version 120.0.1 (64-bit).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant