[Koha-bugs] [Bug 19068] New: OPAC purchase suggestion doesn' t allow users to enter quantity of items

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Aug 9 18:11:49 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19068

            Bug ID: 19068
           Summary: OPAC purchase suggestion doesn't allow users to enter
                    quantity of items
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: OPAC
          Assignee: oleonard at myacpl.org
          Reporter: J.P.Knight at lboro.ac.uk
        QA Contact: testopia at bugs.koha-community.org

Created attachment 65767
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=65767&action=edit
One line addition to opac-suggestions.tt to allow quantities to be entered

Our librarians commented that the Koha purchase suggestions form doesn't allow
the quantity of items to be suggested.  In an academic library, sometimes the
academics will make suggestions for reading material and have an idea how
popular it may be, even for modules/courses that aren't yet running so don't
(officially) have any students allocated to them.

This enhancement just exposes the quantity field to the OPAC suggestions form
to permit the end user to enter this if they wish.  The librarians can of
course override this quantity when they process the suggestion.

Test Plan (assuming using kohadevbox VM):

1) apply patch and turn on purchase suggestions
2) Go to http://localhost:8080/cgi-bin/koha/opac-suggestions.pl?op=add and
notice that there is now a quantity field available.
3) Make a purchasing suggestion using this form, including a quantity.
4) Log in as a member of library staff and go to Home › Acquisitions ›
Suggestions
5) Confirm that the previously entered suggestion is there, and that the
correct quantity appears in the "Acquisition information" section.
6) Edit the purchasing suggestion, change the quantity, save it and check that
the new quantity appears in the suggestion.

I've popped an ID attribute of "opac-suggestion-quantity" to the surrounding
<li> so that CSS can easily make this optional field disappear (as suggested by
cait on IRC).

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list