| Summary: | Series/collection is not added to the record created from a suggestion | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Katrin Fischer <katrin.fischer> |
| Component: | Acquisitions | Assignee: | Bugs List <koha-bugs> |
| Status: | NEW --- | QA Contact: | Testopia <testopia> |
| Severity: | normal | ||
| Priority: | P5 - low | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | --- |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: | ||
| Circulation function: | |||
I believe there is a mismatch in naming. The column is suggestions.collectiontitle, but the code talks about seriestitle: if ($suggestionid and $mss->{kohafield}) { # Reading suggestion info if ordering from a suggestion if ( $mss->{kohafield} eq 'biblio.title' ) { $value = $data->{title}; } elsif ( $mss->{kohafield} eq 'biblio.author' ) { $value = $data->{author}; } elsif ( $mss->{kohafield} eq 'biblioitems.publishercode' ) { $value = $data->{publishercode}; } elsif ( $mss->{kohafield} eq 'biblioitems.editionstatement' ) { $value = $data->{editionstatement}; } elsif ( $mss->{kohafield} eq 'biblioitems.publicationyear' ) { $value = $data->{publicationyear}; } elsif ( $mss->{kohafield} eq 'biblioitems.isbn' ) { $value = $data->{isbn}; } elsif ( $mss->{kohafield} eq 'biblio.seriestitle' ) { $value = $data->{seriestitle}; } }