Skip to content

Object count is always 0 #1470

Closed
Closed
@Wouter125

Description

@Wouter125

Environment Setup

I configured my application with the following package.json;

"dependencies": {
    "@parse/s3-files-adapter": "^1.4.0",
    "parse-server": "^3.10.0",
    "parse-dashboard": "^2.0.5"
}

The parse server is hooked up to a postgresQL database, and everything is working fine. The only issue is, that the number of objects are not counted anymore. For every class it remains 0. If I delete something it turns into -1.

I inspected the network tab and noticed that my class is being fetched twice when I click on browse on the left hand side.

If I click on a specific class my network tab executes the same call twice again. The first time it's response is like this;

{"results":[],"count":0}

Second time around it's;

{"results":[{"objectId":"I92PRuHC85","createdAt":"2020-02-11T11:35:45.855Z","updatedAt":"2020-02-11T11:35:45.855Z","name":"Test"}]}

Still the count that is being used throughout the UI remains 0. It was working before, I just did a few npm updates, so perhaps it has been broken in one of the last updates?

Oh, by the way the object count does work if I explicitly filter the list...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions