Merge pull request #14291 from pratu16x7/help-page

[fix] help page issue listing
This commit is contained in:
Prateeksha Singh 2018-05-30 17:27:49 +05:30 committed by GitHub
commit c62de0831e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)