-
Notifications
You must be signed in to change notification settings - Fork 0
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
Fix active list item handling #213
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should stay consistent and use Icinga\Module\Notifications\Common\Links
for path references to strengthen the maintainability.
3e84c7a
to
2653a53
Compare
$this->getAttributes()->set('data-action-item', true); | ||
$this->getAttributes() | ||
->set('data-action-item', true) | ||
->set('data-icinga-detail-filter', QueryString::render(Filter::equal('id', $this->item->id))); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should stay consistent and use Icinga\Module\Notifications\Common\Links for path references to strengthen the maintainability.
I'd extend this to query param references:
Links::contactGroup($this->item->id)->getQueryString()
2653a53
to
68f7fd1
Compare
fix #212
requires Icinga/ipl-web#225