# ----------------------------------------------------------------
return $self->redirect_ssl unless $self->cgi->https;
- return $self->load_getit_results if $path =~ m|kpac/getit_results|;
- return $self->load_getit if $path =~ m|kpac/getit|;
+ #logic added to resolve path-matching conflict
+ if ($path =~ m|kpac/getit_results|) {
+ return $self->load_getit_results;
+ } elsif ($path =~ m|kpac/getit|) {
+ return $self->load_getit;
+ }
# ----------------------------------------------------------------
# Everything below here requires authentication
my $hold_id = $self->cgi->param('hold');
my $rec_id = $ctx->{page_args}->[0];
- my (undef, @rec_data) = $self->get_records_and_facets([$rec_id]);
+ my (undef, @rec_data) = $self->get_records_and_facets([$rec_id], undef,
+ {flesh => '{mra,holdings_xml,acp,exclude_invisible_acn}'});
$ctx->{bre_id} = $rec_data[0]->{id};
$ctx->{marc_xml} = $rec_data[0]->{marc_xml};
[% l('To manage your lists, go to [_1]My Lists[_2]', '<a href="' _ mkurl(ctx.opac_root _ '/myopac/lists', {}, 1) _ '">', '</a>') %]
<p>
[% ELSIF ctx.added_to_list %]
- [% list_html = ctx.list.name | html %]
+ [% list_html = ctx.added_to_list.name | html %]
<h2 class="sub_header2">[% l('You Saved It!') %]</h2>
<p>
[% l('You successfully saved [_1] to [_2].', title_html, list_html) %]<br/>