Skip to content

Querying and deleting all results makes the results show as -1 #4988

@emenslin

Description

@emenslin

Describe the bug
When making a query if you delete all the records that show up the number of results shows as -1

To Reproduce
Steps to reproduce the behavior:

  1. Create a query (or use existing one)
  2. Delete all the records that show up
  3. See results shows -1

Expected behavior
If there's no longer any results the count should show as 0 not -1

Screenshots

ELep4AW2al.mp4

Please, also fill out the following information manually:

  • OS: Windows 11
  • Browser: Chrome
  • Specify 7 Version: edge
  • Database Name: lsumzmammals9823
  • Collection name: mammals
  • User Name: spadmin

Additional context
Possibly related to #4538

S803aI61th.mp4

Specify 7 Crash Report - 2024-06-05T16_20_53.981Z.txt

Metadata

Metadata

Assignees

Labels

1 - BugIncorrect behavior of the product2 - QueriesIssues that are related to the query builder or queries in general

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions