output_row.field = idx.id;
output_row.source = rid;
output_row.value = BTRIM(REGEXP_REPLACE(browse_text, E'\\s+', ' ', 'g'));
+ output_row.authority := NULL;
IF idx.authority_xpath IS NOT NULL AND idx.authority_xpath <> '' THEN
authority_text := oils_xpath_string(
output_row.field = idx.id;
output_row.source = rid;
output_row.value = BTRIM(REGEXP_REPLACE(browse_text, E'\\s+', ' ', 'g'));
+ output_row.authority := NULL;
IF idx.authority_xpath IS NOT NULL AND idx.authority_xpath <> '' THEN
authority_text := oils_xpath_string(
[% BLOCK browse_pager %]
<div class="browse-pager">
[% IF ctx.more_back %]
- <a class="opac-button" href="[% mkurl('', {boffset => CGI.param('boffset') - blimit}) %]">← [%l ('Back') %]</a>
+ <a class="opac-button" href="[% mkurl('', {boffset => boffset - blimit}) %]">← [%l ('Back') %]</a>
[% END %]
[% IF browse.english_pager; # XXX how to apply i18n here?
current_qtype = CGI.param('qtype') || 'title' %]
[% END %]
[% IF ctx.more_forward %]
- <a class="opac-button" href="[% mkurl('', {boffset => CGI.param('boffset') + blimit}) %]">[%l ('Forward') %] →</a>
+ <a class="opac-button" href="[% mkurl('', {boffset => boffset + blimit}) %]">[%l ('Forward') %] →</a>
[% END %]
</div>
[% END %]
[% ELSE %]
[% IF ctx.browse_leading_article_warning %]
<div class="browse-leading-article-warning">
- [% l("Your browse term seems to begin with an article. You might better results by omitting the article.") %]
+ [% l("Your browse term seems to begin with an article. You might get better results by omitting the article.") %]
</div>
[% END %]
<ul class="browse-result-list">