#649: Clicking on "... more" hyperlink within dashboard results in error
--------------------------+-----------------------
  Reporter:  ChrisHarris  |      Owner:  rjollos
      Type:  defect       |     Status:  accepted
  Priority:  major        |  Milestone:  Release 8
 Component:  dashboard    |    Version:  0.6.0
Resolution:               |   Keywords:
--------------------------+-----------------------

Comment (by rjollos):

 Since `href` is an instance `ProductizedHref`, it seems like we just want
 to create a URL that points to the dashboard for the product.

 {{{#!diff
 diff --git a/bloodhound_dashboard/bhdashboard/widgets/product.py
 b/bloodhound_da
 index 2179676..1809ba3 100644
 --- a/bloodhound_dashboard/bhdashboard/widgets/product.py
 +++ b/bloodhound_dashboard/bhdashboard/widgets/product.py
 @@ -111,7 +111,7 @@ class ProductWidget(WidgetBase):
              q.name = _('... more')
              q.ticket_count = None
              q.url = href(resource['name']) if resource.get('hrefurl') \
 -                else href.product(product.prefix)
 +                else href.dashboard()
              results.append(q)

          return results
 }}}

-- 
Ticket URL: <https://issues.apache.org/bloodhound/ticket/649#comment:3>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound issue tracker

Reply via email to