File tree 2 files changed +11
-1
lines changed
2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 4
4
%% after content_classes -> { ' search-results' }
5
5
%% override content -> {
6
6
<h3 class="search-results-header">Search results for "[% $search_query %]"</h3>
7
+
8
+ %% if $pageset && $pageset.total_entries {
9
+ <div class="smaller">
10
+ [% $pageset.total_entries | format_number %]
11
+ [% pluralize("result", $pageset.total_entries) %]
12
+ [% if $took { %] ([% $took / 1000 %] seconds)[% } %]
13
+ </div>
14
+ <hr>
15
+ %% }
16
+
7
17
%% if $authors.total {
8
18
<div class="author-results">
9
19
<ul class="authors clearfix">
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ test_psgi app, sub {
43
43
my $tx = tx($res );
44
44
$tx -> like( ' /html/head/title' , qr / moose/ , ' title includes search term' );
45
45
my $release
46
- = $tx -> find_value(qq! //$xpath {search_results}//div[1 ]/h3/a/\@ href! );
46
+ = $tx -> find_value(qq! //$xpath {search_results}//div[2 ]/h3/a/\@ href! );
47
47
ok( $release , " found release $release " );
48
48
49
49
{
You can’t perform that action at this time.
0 commit comments