[Koha-bugs] [Bug 33864] Modal broken when "AcqCreateItem" set to "cataloguing"
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue May 30 18:27:00 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33864
Katrin Fischer <katrin.fischer at bsz-bw.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #151799|0 |1
is obsolete| |
--- Comment #10 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 151812
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=151812&action=edit
Bug 33864: Set default date in all acqcreateitem scenarios
On b0aab2aeef9a025d3907d0b723b5ea71eaf94542 the flatpickr default to
'today' was restored, but only for acqcreateitem='ordering'. This patch
moves the initialization to a different stop for broader reach.
To test:
1. Have 3 baskets on with each setting:
- create_item = 'cateloguing'
- create_item = 'ordering'
- create_item = 'receiving'
2. Close those baskets
3. Go to 'Receive shipments'
4. Choose things from the 3 baskets and then 'Receive selected'
5. Navigate through the different orders
=> FAIL: Only the one that has items created on ordering has the date
filled by default
6. Apply this patch
7. Reload the page
8. Repeat 5
=> SUCCESS: Dates are pre-filled!
9. Sign off :-D
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list