Closed MrGooss closed 3 years ago
New entries in post views are listed with IP ':1', which is localhost. This happens on a port-forwarded version too, concluding that the PR is not ready for development yet.
Please fill in the PR form.
Issue is active again, tested on port forward, all seems fine
closes #261
What is it supposed to do
Add a view to the database when a post is visited (IP restricted) and display the amount of views on the post's page.
How can we test your branch
You can test the branch by opening a post, because the view is IP restricted you'll only be able to add one view unless you use a VPN or change your IP. You could also change the ip address of the existing records in the database.
General checklist
if () {
instead of{
on line below)If relevant, front-end checklist
If relevant, back-end checklist
If relevant, test these browsers