Lines 82-93
sub GetDescriptionByKohaField {
Link Here
|
82 |
authorised_value => $params->{authorised_value}, |
82 |
authorised_value => $params->{authorised_value}, |
83 |
} |
83 |
} |
84 |
); |
84 |
); |
85 |
return %$av |
85 |
return $params->{opac} |
86 |
? $params->{opac} |
|
|
87 |
? $av->{opac_description} |
86 |
? $av->{opac_description} |
|
|
87 |
? $av->{opac_description} |
88 |
: $av->{lib} |
89 |
? $av->{lib} |
90 |
: $params->{authorised_value} |
91 |
? $params->{authorised_value} |
92 |
: '' |
88 |
: $av->{lib} |
93 |
: $av->{lib} |
89 |
: ''; # Maybe we should return $params->{authorised_value}? |
94 |
? $av->{lib} |
90 |
|
95 |
: $params->{authorised_value} |
|
|
96 |
? $params->{authorised_value} |
97 |
: '' |
91 |
} |
98 |
} |
92 |
|
99 |
|
93 |
1; |
100 |
1; |
94 |
- |
|
|