Skip to content

Do not load empty visits result sets by default. #407

@the-hotmann

Description

@the-hotmann

Summary

Shlink: v2.6.2 (PHP 8.0)
Shlink Web Client: v3.1.0

This happens to ALL shlink installations I ever had so the above informatiosn are just for tracking.

What I would like to prevent is the following:
When I go to the detailed view of a Short-Link the default is set to "last 30 days" which is ok for me even if I would like to default to "ALL time". But when "last 30 days" does not give back any results this "Error Info" is getting triggered:
no visits matching current filter
If this happens I think the application should automaticaly fallback to "All time" instead of showing this error as the user now obviously would anyway chose "All time", but having to do this and seeing an error maybe isnt the nicest way of implementing a default time (30 days).

Therefore I think it would be cool to automatically fallback in case of "There are no visits matching current filter :("

Feedback:

v2.6.2 (PHP 8.0) is working awesome! It even works if you run it on PHP 7.4, even if not made to do so.

#Shit

Just realised I posted under "shlink" instead of "shlink-web-client". Feel fre to move or delete the issue as I'm not able to move it now

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions