[fix] help page issue listing

This commit is contained in:
Prateeksha Singh 2018-05-30 17:26:03 +05:30
parent 6ac9c0f71e
commit 66425c6e7f
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@
<p><a href="/issues">{{ _("See all open tickets") }}</a></p>
</div>
<a href="/issues?new=1" class="btn btn-primary btn-new btn-sm">
<a href="/issues?new=1" class="btn btn-default btn-new btn-sm">
{{ _("Open a new ticket") }}
</a>

View File

@ -19,7 +19,7 @@ def get_context(context):
context.topics = topics_data[:3]
# Issues
context.issues = frappe.get_list("Issue")[:3]
context.issues = frappe.get_list("Issue", fields=["name", "status", "subject", "modified"])[:3]
def get_forum_posts(s):
response = requests.get(s.forum_url + '/' + s.get_latest_query)