Bug 8153 - Bulk serial receive
Summary: Bulk serial receive
Status: RESOLVED DUPLICATE of bug 7913
Alias: None
Product: Koha
Classification: Unclassified
Component: Serials (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Colin Campbell
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-25 10:04 UTC by shinoy m
Modified: 2013-01-02 02:45 UTC (History)
1 user (show)

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


Attachments
Bulk serial receive (6.46 KB, patch)
2012-05-29 06:54 UTC, shinoy m
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description shinoy m 2012-05-25 10:04:27 UTC

    
Comment 1 shinoy m 2012-05-29 06:54:30 UTC
Created attachment 9809 [details] [review]
Bulk serial receive

Add an option "Bulk receive" in serials home page for receiving the serials in bulk.
Comment 2 Chris Cormack 2012-07-23 07:58:26 UTC
I like the idea, however

+#if it is bulk receive
+if($op eq 'all')
+{
+my $sth = $dbh->prepare('select subscriptionid from subscription');
+$sth->execute;
+my $row;
+while ($row = $sth->fetchrow_array()) {
+push (@subscriptionids,$row);
+}
+}else {
+@subscriptionids =  $query->param('subscriptionid');
+}


in serials-edit.pl has a few problems.

1/ We shouldn't have sql in .pl files
2/ The indentation fails the coding guidelines
3/ This will get all expired subscriptions, ie, it just gets all, that may be thousands for a big library

I haven't tested much further. What this patch does, also that is not advertised is it changes the layout of the serials receive page also.
Comment 3 Jared Camins-Esakov 2013-01-02 02:45:34 UTC
I believe this is bug duplicates functionality provided by bug 7913.

*** This bug has been marked as a duplicate of bug 7913 ***