ali1k / ld-r

Linked Data Reactor (LD-R)
http://ld-r.org
Other
128 stars 30 forks source link

No users displayed in admin user list #71

Closed charlie42 closed 4 years ago

charlie42 commented 4 years ago

I loaded the sample users.ttl file into my triplestore (GraphDB) and also registered another user. I can log in with both users and view their profile, but when I open the Users List while signed in as admin, it says "0 Registered Users". When I click on the "0" link, it opens the N3 file with both admin and the new user. What could be the issue? Thank you.

ali1k commented 4 years ago

Not sure why it happens but please check the SPARQL query to retrieve the list of users. Maybe your triple store executes it differently!

charlie42 commented 4 years ago

It was the same issue as this actually! It works now, thank you.

charlie42 commented 4 years ago

Would you like me to open a PR with this fix? I think it won't hurt to have an explicit GROUP BY.

ali1k commented 4 years ago

yes, would be great to add this fix! thanks @charlie42