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

--- Comment #61 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 212014
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=212014&action=edit
Bug 27248: (RM follow-up) Post the report itemnumbers as "itemnumber"

The Batch extend due dates form on the report page named each hidden
input after the report column it came from. A column is offered for the
batch operations when it is called itemnumber, or when it was given an
alias with the [[ table.field | alias ]] syntax of the report editor,
which keeps the itemnumber type, as in

    SELECT [[items.itemnumber|Item]] FROM items

For such an aliased column the input was named "Item". The tool only
reads the itemnumber parameter, so the user reached an empty form with
no message. The batch item modification and deletion forms already post
the value as itemnumber.

Use the name itemnumber, as those forms do.

To test:
1. Create a report that gives its item column an alias, for example
   SELECT [[items.itemnumber|Item]] FROM items
2. Run it and choose Batch operations > Batch extend due dates
   => Before the patch: the barcode list is empty
   => After the patch: the barcode list holds the barcodes of the rows
3. Repeat with a report that selects the plain column itemnumber
   => The barcode list is filled as before

Signed-off-by: Martin Renvoize <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to