Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sqllite index.js has a bug #586

Closed
GitTurboy opened this issue Nov 10, 2022 · 2 comments
Closed

sqllite index.js has a bug #586

GitTurboy opened this issue Nov 10, 2022 · 2 comments
Labels
bug Something isn't working fixed

Comments

@GitTurboy
Copy link

GitTurboy commented Nov 10, 2022

At line 445 of server\runtime\storage\sqlite\index.js
if (file.indexOf(id) > 0 && fromTo && fromTo.from <= tots && fromTo.to >= fromts)
should change to
if (file.indexOf('_'+id+'_') > 0 && fromTo && fromTo.from <= tots && fromTo.to >= fromts)
to avoid query history data for FUXA Server, which id is "0"

@GitTurboy GitTurboy changed the title sqllite.js has a bug sqllite index.js has a bug Nov 10, 2022
@unocelli unocelli added the bug Something isn't working label Nov 11, 2022
@unocelli
Copy link
Member

Hi, thanks for the reports.
I will fix it

unocelli added a commit that referenced this issue Nov 11, 2022
@unocelli unocelli added the fixed label Nov 12, 2022
@unocelli
Copy link
Member

I am going to close this as resolved. let me know if you have any issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed
Projects
None yet
Development

No branches or pull requests

2 participants