Bug 10142 - Unclear which issues show on subscription details issues tab
Summary: Unclear which issues show on subscription details issues tab
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Serials (show other bugs)
Version: master
Hardware: All All
: P5 - low normal (vote)
Assignee: Bugs List
QA Contact:
URL:
Keywords:
: 27617 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-04-29 06:29 UTC by Katrin Fischer
Modified: 2021-02-06 20:10 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. ***