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

(Host/Service)groupController: Remove obsolete setSuggestionUrl() call #1076

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sukhwinder33445
Copy link
Contributor

@sukhwinder33445 sukhwinder33445 commented Oct 14, 2024

@sukhwinder33445 sukhwinder33445 added the bug Something isn't working label Oct 14, 2024
@sukhwinder33445 sukhwinder33445 self-assigned this Oct 14, 2024
@cla-bot cla-bot bot added the cla/signed CLA is signed by all contributors of a PR label Oct 14, 2024
@sukhwinder33445 sukhwinder33445 force-pushed the fix-hostgroup-search-editor branch 2 times, most recently from 0eadf61 to c2d23a6 Compare October 15, 2024 12:30
Copy link
Member

@nilmerg nilmerg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this also affects the servicegroup detail (which you should have noticed yourself, to be honest) and maybe several others (didn't further check), please find a more general solution. createSearchEditor already knows about parameters to preserve, so it is potentially a good idea to also pass them automatically to the suggestion url. As long as this doesn't have any negative side-effects (as not only name is passed then), I'd prefer this.

@sukhwinder33445 sukhwinder33445 force-pushed the fix-hostgroup-search-editor branch 2 times, most recently from 0882dfe to c31096f Compare October 21, 2024 13:41
@sukhwinder33445 sukhwinder33445 changed the title Hostgroup: Add missing setSuggestionUrl() call (Host/Service)groupController: Remove obsolete setSuggestionUrl() call Oct 21, 2024
…ditor) suggestionUrl

SuggestionUrl now uses the preserveParams as default params
@nilmerg nilmerg added this to the 1.2.0 milestone Oct 28, 2024
@nilmerg nilmerg linked an issue Oct 28, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cla/signed CLA is signed by all contributors of a PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hostgroup: Searcheditor does not work
2 participants