projects
/
working
/
Evergreen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12b30ac
)
Make titles understand compressed holdings
author
Dan Wells
<dbw2@calvin.edu>
Tue, 17 Sep 2013 21:02:54 +0000
(17:02 -0400)
committer
Dan Wells
<dbw2@calvin.edu>
Tue, 17 Sep 2013 22:01:00 +0000
(18:01 -0400)
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Open-ILS/src/perlmods/lib/OpenILS/Utils/MFHD/Holding.pm
patch
|
blob
|
history
diff --git
a/Open-ILS/src/perlmods/lib/OpenILS/Utils/MFHD/Holding.pm
b/Open-ILS/src/perlmods/lib/OpenILS/Utils/MFHD/Holding.pm
index
915715d
..
bee629f
100644
(file)
--- a/
Open-ILS/src/perlmods/lib/OpenILS/Utils/MFHD/Holding.pm
+++ b/
Open-ILS/src/perlmods/lib/OpenILS/Utils/MFHD/Holding.pm
@@
-63,9
+63,9
@@
sub new {
warn '$o specified prior to first enumeration'
unless defined($last_enum);
if ($self->{_mfhdh_COMPRESSED}) {
- $self->{_mfhdh_FIELDS}->{$
key
}{UNIT_TITLES} = [split(/\-/, $val, -1)];
+ $self->{_mfhdh_FIELDS}->{$
last_enum
}{UNIT_TITLES} = [split(/\-/, $val, -1)];
} else {
- $self->{_mfhdh_FIELDS}->{$
key
}{UNIT_TITLES} = [$val];
+ $self->{_mfhdh_FIELDS}->{$
last_enum
}{UNIT_TITLES} = [$val];
}
$last_enum = undef;
} elsif ($key =~ /[npq]/) {