Describe the bug
when url_can_be_shared_between_users option is enabled then if you list users you will see incorrect url numbers for every user
To Reproduce
Steps to reproduce the behavior:
enable smartyurl.url_can_be_shared_between_users on .env
login as superadmin
list users
take a look to users URLs count.
Expected behavior
the problem exists because the system till count shared link as user links
so we should change the function that count the URLs of user to return only his links not the shared also.
even when listing the user url by admin e.g https://smartyurl.test/index.php/url/user/2 it show the shared also , and note that if you plan to change this you should consider while the user list his urls by himself.
Describe the bug when
url_can_be_shared_between_users
option is enabled then if you list users you will see incorrect url numbers for every userTo Reproduce Steps to reproduce the behavior:
smartyurl.url_can_be_shared_between_users
on .envExpected behavior the problem exists because the system till count shared link as user links
so we should change the function that count the URLs of user to return only his links not the shared also.
even when listing the user url by admin e.g https://smartyurl.test/index.php/url/user/2 it show the shared also , and note that if you plan to change this you should consider while the user list his urls by himself.
using Smarty v0.0.0-dev.6