Skip to content

CSV export of selected table rows produces wrong location text, if one of the entries has nested location #1388

@txlbr

Description

@txlbr

First Check

  • This is not a feature request
  • I added a very descriptive title to this issue.
  • I used the GitHub search to find a similar issue and didn't find it.
  • I searched the documentation, with the integrated search.
  • I already read the docs and didn't find an answer.
  • I can replicate the issue inside the Demo install.

Homebox Version

0.24.2

Other deployment info, not really relevant ### Deployment

Docker (Linux)

Database Type

SQLite

OS Architechture

ARM64

Deployment Details

No #response

Steps to reproduce:

  1. Have at least one location entry, that has a parent location
  2. Have at least one item entry with location set to a location from step 1
  3. In table view of search page select some entries, including the entry from step 2
  4. Select "Download Table as CSV"

What is the issue you are experiencing?

The produced file items.csv contains "[object Object]" instead of expected name of the location, where this item is located.

I would suggest to provide a CSV-file in the same format as in case of collection export. The form in which it is provided right now seems to me quite counterintuitive - receiving only the columns displayed to user, that is a limited subset of entry data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    🕷️ bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions