This commit is contained in:
Joe Ardent 2023-12-26 12:26:14 -08:00
parent dd5ae09ab8
commit cced08f653
3 changed files with 2 additions and 3 deletions

View file

@ -18,7 +18,7 @@ use crate::{
//-************************************************************************
const GET_SAVED_WATCHES_QUERY: &str =
"select * from watches left join watch_quests on $1 = watch_quests.user and watches.id = watch_quests.watch";
"select * from watches inner join watch_quests on $1 = watch_quests.user and watches.id = watch_quests.watch order by rand()";
const GET_WATCH_QUERY: &str = "select * from watches where id = $1";

View file

@ -16,6 +16,7 @@
{% block header %}{% include "header_with_user.html" %}{% endblock %}
</div>
<div id="content">
<hr />
{% block content %}{% endblock %}
</div>
<div id="footer">

View file

@ -19,8 +19,6 @@
</div>
{% endmatch %}
<hr />
{% else %} <!-- this is for whether or not the template has a user field or not -->
{% endif %}