Lines 232-238
sub _get_sort_bin {
Link Here
|
232 |
|
232 |
|
233 |
# We should get an item represented as a hashref here |
233 |
# We should get an item represented as a hashref here |
234 |
my ( $item, $branch ) = @_; |
234 |
my ( $item, $branch ) = @_; |
235 |
return undef unless $item; |
235 |
return unless $item; |
236 |
|
236 |
|
237 |
# Get the mapping and split on newlines |
237 |
# Get the mapping and split on newlines |
238 |
my $raw_map = C4::Context->preference('SIP2SortBinMapping'); |
238 |
my $raw_map = C4::Context->preference('SIP2SortBinMapping'); |
Lines 275-281
sub _get_sort_bin {
Link Here
|
275 |
} |
275 |
} |
276 |
|
276 |
|
277 |
# Return undef if no hits were found |
277 |
# Return undef if no hits were found |
278 |
return undef; |
278 |
return; |
279 |
} |
279 |
} |
280 |
|
280 |
|
281 |
1; |
281 |
1; |
282 |
- |
|
|