Bug 10142

Summary: Unclear which issues show on subscription details issues tab
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: SerialsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P5 - low CC: colin.campbell, dcook, marjorie.barry-vila
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Katrin Fischer 2013-04-29 06:29:40 UTC
I got asked which issues show on the 'Issues' tab in the serials subscription detail page. 

The number of issues seems random and it's hard to figure out what the pattern here is. Looking at GetSerials I think it is:

All issues not arrived, missing or not available (2,4,5)
+ last 5 issues arrived, missing or not available

But the POD states:
=head2 GetSerials

($totalissues,@serials) = GetSerials($subscriptionid);
this function gets every serial not arrived for a given subscription
as well as the number of issues registered in the database (all types)
this number is used to see if a subscription can be deleted (=it must have only 1 issue)

FIXME: We should return \@serials.

=cut

So at least there is some mismatch between the POD and what really happens. Also it would be nice if we could do this a bit better.

Another point: shouldn't the status include claimed?
Comment 1 Katrin Fischer 2021-02-06 20:10:46 UTC
*** Bug 27617 has been marked as a duplicate of this bug. ***