[Rt-commit] rt branch, 4.0/search-result-callbacks, created. rt-4.0.8-158-g821d5b3

Thomas Sibley trs at bestpractical.com
Fri Nov 9 19:02:26 EST 2012


The branch, 4.0/search-result-callbacks has been created
        at  821d5b35e32436aab975954699a0e736b6f6d67a (commit)

- Log -----------------------------------------------------------------
commit 821d5b35e32436aab975954699a0e736b6f6d67a
Author: Jim Berry <Jim.H.Berry at frb.gov>
Date:   Fri Nov 9 15:46:42 2012 -0800

    Add callbacks before and after ticket search results for extra UI

diff --git a/share/html/Search/Results.html b/share/html/Search/Results.html
index 4fee865..17f4f0e 100644
--- a/share/html/Search/Results.html
+++ b/share/html/Search/Results.html
@@ -49,6 +49,9 @@
     Refresh => $refresh,
     LinkRel => \%link_rel &>
 <& /Elements/Tabs &>
+
+% $m->callback( ARGSRef => \%ARGS, CallbackName => 'BeforeResults' );
+
 <& /Elements/CollectionList, 
     Query => $Query,
     TotalFound => $ticketcount,
@@ -62,6 +65,8 @@
     BaseURL => $BaseURL
 
    &>
+% $m->callback( ARGSRef => \%ARGS, CallbackName => 'AfterResults' );
+
 % my %hiddens = (Query => $Query, Format => $Format, Rows => $Rows, OrderBy => $OrderBy, Order => $Order, HideResults => $HideResults, Page => $Page, SavedChartSearchId => $SavedChartSearchId );
 <div align="right" class="refresh">
 <form method="get" action="<%RT->Config->Get('WebPath')%>/Search/Results.html">

-----------------------------------------------------------------------


More information about the Rt-commit mailing list