Skip to content

api: can't filter prefix-list-rules by multiple prefix-list ids or names #275

@alexonishchenko

Description

@alexonishchenko

NetBox version
NetBox Community v4.1.11

Describe the bug
When getting prefix-rule-list via api and applying multiple filter expressions like '&prefix_list=X' API responses like a single filter entry is applied (the last one).

To Reproduce
Steps to reproduce the behavior:

  1. HTTP GET netbox/api/plugins/bgp/prefix-list-rule/?prefix_list=1&prefix_list=2
  2. You will get only prefix-list-rules linked to prefix-list 2.

Expected behavior
Get a list of prefix-list-rules linked to prefix-list 1 and prefix-list 2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    revisions-neededRevisions are need to ascertain the issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions