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

David Nind <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
             Status|Needs Signoff               |Failed QA

--- Comment #2 from David Nind <[email protected]> ---
This works, but similar to bug 32814 when I click on the three dots it jumps to
the top of the screen.

It does this when using an authorized value term and just a numerical value.

It didn't do this before the patch was applied (and after a flush_memcached and
restart_all).

How I tested
~~~~~~~~~~~~

1. Add the stocknumberAV.pl plugin to 952$i
2. Add a new authorized valued category called INVENTORY
3. Add some new authorized value, for example: TEST, TEST1
4. Adding an inventory number with a prefix from the INVENTORY authorized
values:
   4.1 Enter "TEST" to an item for a record
   4.2 Click the three dots
       ==> A number should be added, for example: TEST 0000000001
   4.3 Repeat for another item using the same authorized value
       ==> This should increment, for example: TEST 0000000002
5. Adding a numerical inventory number:
   5.1 Add a numerical number without a prefix to an item for a record, for
example: 98765
   5.2 Click the three dots
   ==> There should be no change (as expected)


Description of plugin
~~~~~~~~~~~~~~~~~~~~~

This plugin is based on authorised values from INVENTORY.
It is used for stocknumber computation.

If no prefix is submitted, or the prefix does contain only
numbers, it returns the inserted code (= keep the field unchanged).

If a prefix is submitted, we look for the highest stocknumber
with this prefix and return it incremented.

In this case, a stocknumber has this form (e.g. "PREFIX 0009678570"):
PREFIX containing letters, a space separator and 10 digits with leading
0s if needed.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to