Ported the bare href to mkurl() while I was in there
Signed-off-by: Bill Erickson <berick@esilibrary.com>
code = subfield.getAttribute('code');
NEXT UNLESS code.match('[a-z]');
term = subfield.textContent | html;
- '<br/><a href="' _ ctx.opac_root _ '/results?qtype=author&query=' _ term _ '&loc=' _ loc _ '">' _ term _ '</a>';
+ url = mkurl(ctx.opac_root _ '/results', {query => subfield.textContent, qtype => 'author'}, ['page', 'expand']);
+ '<br/><a href="' _ url _ '">' _ term _ '</a>';
END;
END;
END;