kmain-9 xul fix kmain-9 tt2 fix hash: 0abd8a19eac0fd93a0e4b5643f4cebe27d7ac860 Signed...
authorBill Erickson <berickxx@gmail.com>
Wed, 29 Oct 2014 21:06:39 +0000 (17:06 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 21 Mar 2019 19:46:23 +0000 (15:46 -0400)
    Cross-port: 2dd0f59

Conflicts:
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm

Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm

index 01fb36f..2978fff 100644 (file)
@@ -483,9 +483,10 @@ sub load_rresults {
         # redirect to the record detail page for the last record in the results
         my $rec_id = pop @$rec_ids;
         $cgi->delete('find_last');
-        my $url = $cgi->url(-full => 1, -path => 1, -query => 1);
+        my $url = $cgi->url(-relative => 1, -path => 1, -query => 1);
         # TODO: metarecord => /rresults?metarecord=$mmr_id
         $url =~ s|/results|/record/$rec_id|;
+        $url = "oils://remote/" . $url;
         return $self->generic_redirect($url);
     }