Merge pull request #14291 from pratu16x7/help-page
[fix] help page issue listing
This commit is contained in:
commit
c62de0831e
@ -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>
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user