Skip to content

Commit

Permalink
limit profiles to topic dojos for now, until we figure out how to dea…
Browse files Browse the repository at this point in the history
…l with the million dojos importing the topic dojos
  • Loading branch information
zardus committed Jan 25, 2024
1 parent d0c814c commit a236a59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dojo_plugin/pages/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def view_hacker(user):
if user.hidden:
abort(404)

dojos = Dojos.query.where(or_(Dojos.official, Dojos.data["type"] == "public")).all()
dojos = Dojos.query.where(or_(and_(Dojos.official, Dojos.data["type"] == "topic"), Dojos.data["type"] == "public")).all()

return render_template(
"hacker.html",
Expand Down

0 comments on commit a236a59

Please sign in to comment.