Skip to content

Filters do not always respect using keyboard to initiate searching #3775

@barreljan

Description

@barreljan

Describe the bug

When you log in to Cacti, and go in the three mode and click on any device, then search a specific string it all works fine. If you open the console, hit for instance the Management and Graphs button, return to the Graphs (top tab) and do a search in the same host, again with the same in the search field and hitting 'enter' you end up with the page from console. If you click on the Go button this behavior is not observed.

To Reproduce

Steps to reproduce the behavior:

  1. Go to tab Graphs

  2. Click on a host in the tree

  3. Enter a string in the search field en hit 'enter' (do not click on go)

  4. Go to tab Console

  5. Click on Management and then Graphs (or any item, e.g. System Utilities and the View User Log)

  6. Go to tab Graphs

  7. Enter a string in the seach field and hit 'enter' (do not click on go)

  8. Page of the last visited item under tab Console shows up

Expected behavior

When hitting enter, just as clicking on the Go button, a list of graphs matching the search string.

  • OS: Windows 10

  • Browser: Edge Chromium, FireFox, IE11

  • Cacti Version: 1.2.14

  • Server running Centos7 (latest updates). Apache 2.4, PHP 7.4.9

Workaround for now:
Log out, log back in, search again. Any time you click on something within the Console tab, you end up with this. Unless you hit the Go button of course.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behaviourresolvedA fixed issue

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions