[Koha-bugs] [Bug 27697] New: Opening bibliographic record page prepopulates search bar text

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 12 18:47:32 CET 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27697

            Bug ID: 27697
           Summary: Opening bibliographic record page prepopulates search
                    bar text
 Change sponsored?: ---
           Product: Koha
           Version: 20.05
          Hardware: PC
                OS: Windows
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: Searching
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: ekomala at frgml.org
        QA Contact: testopia at bugs.koha-community.org

On the staff client end: Opening a bibliographic record page populates the
search bar with the last text entered in the Search the Catalog search bar for
that browser session, even if the search wasn't done on the previous page or
tab or by the same logged in user. This also happens when links are opened in
new tabs. It only prepopulates search text from the Search the Catalog search
bar, not from Advanced Search.

Only able to recreate the bug on pages that load within the Normal tab of a
bibliographic record page: 
https://staff.**.bywatersolutions.com/cgi-bin/koha/catalogue/detail.pl?biblionumber=** 
(including #description, #acq_details, #images)

1. Enter text in the Search the Catalog search bar and Submit
2. Click on a search result to open the record page
3. Search field is prepopulated with previous search text
Even as you click through to other pages, on and on, once you open another
record page, the search bar will once again prepopulate the last text entered
in it.

Example that automatically opens in new tab, not directly from a search result:

1. Enter text in the Search the Catalog search bar and Submit
2. Open Tools › Manage staged MARC records › Batch #
3. Click on Record # in righthand column
4. Record page opens in new tab with previous search text prepopulated

The search bar should clear out upon loading a new page or tab. One user's
search history should never load for another user, despite not closing out and
reopening the browser.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list