projects
/
irspy-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d46db55
)
Add Piggyback searching line to full-record display.
author
Mike Taylor
<mike@indexdata.com>
Wed, 19 Dec 2012 10:00:18 +0000
(10:00 +0000)
committer
Mike Taylor
<mike@indexdata.com>
Wed, 19 Dec 2012 10:00:18 +0000
(10:00 +0000)
web/htdocs/details/full.mc
patch
|
blob
|
history
diff --git
a/web/htdocs/details/full.mc
b/web/htdocs/details/full.mc
index
546419b
..
6003fc7
100644
(file)
--- a/
web/htdocs/details/full.mc
+++ b/
web/htdocs/details/full.mc
@@
-51,6
+51,7
@@
if ($n == 0) {
[ "Record syntaxes" => \&calc_recsyn, $xc ],
[ "Explain" => \&calc_explain, $xc ],
[ "Multiple OPAC records" => \&calc_mor, $xc ],
[ "Record syntaxes" => \&calc_recsyn, $xc ],
[ "Explain" => \&calc_explain, $xc ],
[ "Multiple OPAC records" => \&calc_mor, $xc ],
+ [ "Piggback searching" => \&calc_piggyback, $xc ],
);
my $title = $xc->find("e:databaseInfo/e:title");
</%perl>
);
my $title = $xc->find("e:databaseInfo/e:title");
</%perl>
@@
-183,6
+184,7
@@
sub calc_boolean {
sub calc_nrs { _calc_boolean(@_, 'i:status/i:named_resultset[@ok = "1"]') }
sub calc_mor { _calc_boolean(@_, 'i:status/i:multiple_opac[@ok = "1"]') }
sub calc_nrs { _calc_boolean(@_, 'i:status/i:named_resultset[@ok = "1"]') }
sub calc_mor { _calc_boolean(@_, 'i:status/i:multiple_opac[@ok = "1"]') }
+sub calc_piggyback { _calc_boolean(@_, 'i:status/i:piggback[@ok = "1"]') }
sub _calc_boolean {
my($id, $xc, $xpath) = @_;
sub _calc_boolean {
my($id, $xc, $xpath) = @_;