Skip to content

Linked many-to-many relations are exported with HTML in CSV output #9313

@jeremystretch

Description

@jeremystretch

NetBox version

v3.2.2

Python version

3.8

Steps to Reproduce

  1. Create a site and some contacts
  2. Assign multiple contacts to a site
  3. View the sites list and add the "Contacts" column
  4. Go to export > current view and inspect the CSV output

Expected Behavior

The value of the contacts columns for each object should be a plain comma-delimited string, e.g. "Contact 1,Contact 2".

Observed Behavior

The output for this column includes the HTML hyperlink code, e.g. "<a href=""/tenancy/contacts/1/"">Contact 1</a>, <a href=""/tenancy/contacts/2/"">Contact 2</a>".

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions