In the serials edition page, on 'Expected on' column, whatever item date you try to change using its datepicker, it modify the top item date and only this one. Test plan : 1) Search a serial subscription from the Serials Home page 2)Go to serial collection page and make sure it has a mimimal bunch of already received or missing issues 3)Check some received issues to be sure to get extra issues (not only the extected one) in the serial edition page 4) Click on Edit serials button 5) Try to modify whatever date in 'Expected on' column (excepted first one) using datepicker : You can see that the top date of the column is updated instead of the choosen one. 6) Apply patch and redo 1 to 5 steps : now the right date is updated.
Created attachment 47162 [details] [review] Bug 15643 - Every datepicker on serials expected date column updates top issue
Comment on attachment 47162 [details] [review] Bug 15643 - Every datepicker on serials expected date column updates top issue This patch is wrong : the expected date is not any more updated to current date when adding an item
Created attachment 47302 [details] [review] Bug 15643 - Every datepicker on serials expected date column updates top issue I delete the 'expected' id that was causing the initial problem and modified changeDate function to have it get targetted element by name instead. Consequently I also delete changeDate2 that seems to be redundant. Hope I didn't miss something Olivier Crouzet
Created attachment 47371 [details] [review] Bug 15643 - Every datepicker on serials expected date column updates top issue delete 'expected' and 'supexpected' ids that don't seem useful anymore. Same thing for changeDate2 function Followed test plan, works as expected. Signed-off-by: Marc Véron <veron@veron.ch>
Created attachment 47456 [details] [review] Bug 15643 - Every datepicker on serials expected date column updates top issue delete 'expected' and 'supexpected' ids that don't seem useful anymore. Same thing for changeDate2 function Test plan : 1) Search a serial subscription from the Serials Home page 2)Go to serial collection page and make sure it has a mimimal bunch of already received or missing issues 3)Check some received issues to be sure to get extra issues (not only the extected one) in the serial edition page 4) Click on Edit serials button 5) Try to modify whatever date in 'Expected on' column (excepted first one) using datepicker : You can see that the top date of the column is updated instead of the choosen one. 6) Apply patch and redo 1 to 5 steps : now the right date is updated. Followed test plan, works as expected. Signed-off-by: Marc Véron <veron@veron.ch> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Pushed to Master - Should be in the May 2016 Release. Thanks!
Patch pushed to 3.22.x, will be in 3.22.4