projects
/
webpac
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added type="swish_exact" to save data into swish index with boundaries
[webpac]
/
marc_sf.pm
diff --git
a/marc_sf.pm
b/marc_sf.pm
index
7e2c671
..
2061b66
100644
(file)
--- a/
marc_sf.pm
+++ b/
marc_sf.pm
@@
-10,7
+10,8
@@
sub marc_sf {
my $i = shift @_ || 0;
- my @out = $marc->getvalue({record=>$marc->marc_count(),field=>$f,subfield=>$s,delimiter=>" "});
+ my @out = $marc->getvalue({record=>$marc->marc_count(),field=>$f,subfield=>$s});
+
return $out[$i] if (@out && $out[$i]);
}