File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
data/libraries/search/templates/digibib7 Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 36
36
<action id =" search-next-page" >
37
37
<if test =" contains($next-page, '/list/data')" >
38
38
<s >
39
+ $search-next-page-available := false(),
40
+ $next-page-html := (),
41
+
42
+
39
43
$eventStreamText := unparsed-text($next-page),
40
44
let $eventStream := x:lines($eventStreamText)
41
45
for tumbling window $w in $eventStream start when true end $line when $line eq ""
54
58
(:todo multiple libraries:)
55
59
)
56
60
</s >
57
- <page data =" {$next-page-html}" pattern-href =" search" />
58
- <page data =" {$footer-html}" pattern-href =" search-pagination" />
61
+ <if test =" exists($next-page-html)" >
62
+ <page data =" {$next-page-html}" pattern-href =" search" />
63
+ <page data =" {$footer-html}" pattern-href =" search-pagination" />
64
+ </if >
59
65
</if >
60
66
<else >
61
67
<page url =" {$next-page}" />
You can’t perform that action at this time.
0 commit comments