Customers can't clear search profile

Bug #812997 reported by Hartmut Holzgraefe
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Eventum
Fix Released
Wishlist
Bryan Alsdorf

Bug Description

Customer contacts do not get the quick search on top of issue lists, and so no "Clear Filters" button either.

Customer contacts *can* set their search profile by clicking on a reporter name in the issue list and from there on will only be able to see the issues of that one reporter.

So while customer contacts don't get to see the quick search form for a reason they need some other means to clear the search profile / filters ...

Revision history for this message
Hartmut Holzgraefe (hartmut-php) wrote :

suggested fix: adding a "clear filters" link in the upper right of the list where non-customers see the show/hide links ...

=== modified file 'templates/list.tpl.html'
--- templates/list.tpl.html 2010-10-07 11:47:57 +0000
+++ templates/list.tpl.html 2011-07-19 21:08:30 +0000
@@ -191,8 +191,8 @@
                   {/if}
                   {include file="help_link.tpl.html" topic="list"}
                 </td>
+ <td align="right" class="default" nowrap>
                 {if $current_role != $roles.customer}
- <td align="right" class="default" nowrap>
                   {if $browser.ie5up or $browser.ns6up or $browser.gecko or $browser.safari or $browser.opera5up}
                   {t}hide/show{/t}:
                   [ <a class="link" title="{t}hide / show the quick search form{/t}" href="javascript:void(null);" onClick="toggleVisibility('filter_form');">{t}quick search{/t}</a> ]
@@ -200,8 +200,10 @@
                   {if $current_role > $roles.reporter}[ <a class="link" href="javascript:void(null);" onClick="toggleVisibility('current_filters');"> {t}current filters{/t}</a> ]{/if}
                   {if $current_role > $roles.developer}[ <a class="link" href="javascript:void(null);" onClick="toggleVisibility('bulk_update');"> {t}bulk update tool{/t}</a> ]{/if}
                   {/if}
- </td>
+ {else}
+ [ <a class="link" title="{t}clear filters{/t}" href="{$smarty.server.PHP_SELF}?reporter=">{t}clear filters{/t}</a> ]
                 {/if}
+ </td>
               </tr>
             </table>
           </td>

Revision history for this message
Hartmut Holzgraefe (hartmut-php) wrote :
Revision history for this message
Elan Ruusamäe (glen666) wrote :

the proposed fix patch is from some other changeset, not one from comment #1
plz attach correct patch, would be easier to apply

Revision history for this message
Elan Ruusamäe (glen666) wrote :

pling!

Revision history for this message
Elan Ruusamäe (glen666) wrote :

*nudge*

Revision history for this message
Elan Ruusamäe (glen666) wrote :

allo?

Revision history for this message
Elan Ruusamäe (glen666) wrote :

Bryan, can you check does this problem still persists and apply proposed fix?

Changed in eventum:
assignee: nobody → Bryan Alsdorf (balsdorf)
Revision history for this message
Bryan Alsdorf (balsdorf) wrote :

Killing this old bug. Customers can clear filters as the "Current Filters" display now provides links to clear individual filters.

Changed in eventum:
status: New → Fix Released
Elan Ruusamäe (glen666)
Changed in eventum:
importance: Undecided → Wishlist
milestone: none → 3.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.