Bug 18418 - Advanced Editor - Rancor - Add a control number widget
Summary: Advanced Editor - Rancor - Add a control number widget
Status: RESOLVED DUPLICATE of bug 19263
Alias: None
Product: Koha
Classification: Unclassified
Component: Cataloging (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Nick Clemens (kidclamp)
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-11 19:04 UTC by Nick Clemens (kidclamp)
Modified: 2018-11-09 14:55 UTC (History)
2 users (show)

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


Attachments
Bug 18418 - Advanced Editor - Rancor - Add a control number widget (8.38 KB, patch)
2017-04-11 19:43 UTC, Nick Clemens (kidclamp)
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Clemens (kidclamp) 2017-04-11 19:04:22 UTC

    
Comment 1 Nick Clemens (kidclamp) 2017-04-11 19:43:17 UTC
Created attachment 62063 [details] [review]
Bug 18418 - Advanced Editor - Rancor - Add a control number widget

This patchset adds a control number widget - numbers are generated using
an authorised value in the CONTROL_NUM_SEQUENCES category

Test plan:
1 - Apply patch
2 - Enable helpers for fixed and coded fields in advanced cataloging
editor
3 - Add or view 001 field
4 - You should see a 'Manually assign button
5 - Click and add control number
6 - Note the title when hovering over the button
7 - Add an authorised value in the CONTROL_NUM_SEQUENCES category with
initial value as 'authorised_value' and Description as you choose
8 - Reload the editor or load a new record
9 - note you now have an 'Assign next' button or an Override button -
test both
Comment 2 Josef Moravec 2017-05-04 09:15:38 UTC
Could you please make buttons bootstrap styled?

See https://wiki.koha-community.org/wiki/Interface_patterns#Buttons
Comment 3 Katrin Fischer 2017-10-02 23:34:01 UTC
Hi Nick,

found some things:

1) comment#2
2) I think the new authorised value category should appear in the list by default.
3) I can't get it to work :(
   a) When I manually assign the control number, things seem ok.
   b) When I add the authorised value, I don't see the other buttons as
      described. I can't get this part to work at all.
4) The stocknumberAV.pl plugin uses a very similar mechanism, but the 
   authorised value code is the prefix (for example the year) and is 
   never changed and the description is the counter. I think making
   this here consistent with the existing behaviour would be nice.
Comment 4 Katrin Fischer 2018-11-09 14:55:28 UTC

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