Skip to content

Commit

Permalink
Merge pull request #42 from half-blue/920_search
Browse files Browse the repository at this point in the history
920 search
  • Loading branch information
nitoca authored Sep 20, 2022
2 parents 8d6a1b6 + eb0047b commit fd23fd4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion board/templates/board/Search.html
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,9 @@ <h5 class="card-title">便利リンク集🔗</h5>
</svg>
</a>
</li>
</ul>
<br>
<ul class="list-group list-group-flush">
<li class="list-group-item"><a href="https://www.tulips.tsukuba.ac.jp/opac/user/top" target="_blank">
📚Tulips マイライブラリ
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor"
Expand Down Expand Up @@ -336,7 +338,10 @@ <h5 class="card-title">開発チーム⚒️</h5>
</a>
</li>
<li class="list-group-item">
📨<a href="mailto:[email protected]">お問い合わせ</a>
📨<a href="mailto:[email protected]">メールでのお問い合わせ</a>
</li>
<li class="list-group-item">
📋<a href="/threads/6291">運営へのお問い合わせスレッド</a>
</li>
</ul>
</div>
Expand Down
2 changes: 1 addition & 1 deletion board/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def get_context_data(self, *args, **kwargs):
context["ranking"] = ranking

# Notice
notice = Notice.objects.filter(is_show=True).order_by('-created_at').values("message")
notice = Notice.objects.filter(is_show=True).order_by('created_at').values("message")
context["notice"] = notice

return context

0 comments on commit fd23fd4

Please sign in to comment.