Commit e0b1853b authored by Petter Goksøyr Åsen's avatar Petter Goksøyr Åsen
Browse files

plukkliste: Musikkopptak as separate category

parent 4c97be2a
...@@ -37,10 +37,7 @@ sub category { ...@@ -37,10 +37,7 @@ sub category {
my $dewey = $meta{loc_dewey}; # 090$c my $dewey = $meta{loc_dewey}; # 090$c
my $location = $meta{location}//''; my $location = $meta{location}//'';
if ($mt eq 'Musikkopptak') { if ($mt =~ m{^(Film|Spill|Tegneserie|Noter|Lydbok|Musikkopptak)$}) {
return 'Annen';
}
if ($mt =~ m{^(Film|Spill|Tegneserie|Noter|Lydbok)$}) {
return $mt; return $mt;
} }
if ($mt eq 'Andre') { if ($mt eq 'Andre') {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment