Bug 10837: make it possible to export serial claims as CSV even when no notice defined
authorJonathan Druart <jonathan.druart@biblibre.com>
Mon, 23 Dec 2013 08:58:30 +0000 (09:58 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 6 Jun 2014 13:06:49 +0000 (09:06 -0400)
On the serial claims page, it is possible to export (using a CSV
profile) or claim 1+ serials.
The checkboxes are not shown if the claiming notice is not defined.
So it is not possible to export claims.

Test plan:
- delete your notice "claimissues"
- go on the serial claims page
- verify that you are able to export them as CSV

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
This works as described and enables use of the export
funtionality even if you are not using the email notifications.
Exporting the serials will also set the claim date.
Passes QA script and tests.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 88c052b0919142c9ff0c8d1e7ce4411c0fb1649e)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit fbe55ec2abd474e21c0001cdc22b893fc2bbe771)

koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt

index 1346b57..44c62f2 100644 (file)
         <input type="hidden" name="order" value="[% order %]" />
          <table id="claimst">
                 <thead><tr>
-                    [% IF ( letter ) %]
                     <th><input type="checkbox" id="CheckAll"></th>
-                    [% END %]
                     <th>Vendor</th>
                     <th>Library</th>
                     <th>Title</th>
                 </tr></thead>
                 <tbody>[% FOREACH missingissue IN missingissues %]
                     <tr>
-                        [% IF ( letter ) %]
-                            <td>
-                    <input type="checkbox" name="serialid" value="[% missingissue.serialid %]" />
-                            </td>
-                        [% END %]
+                        <td>
+                            <input type="checkbox" name="serialid" value="[% missingissue.serialid %]" />
+                        </td>
                         <td>
                         [% missingissue.name %]
                         </td>