View Single Post
Old 09-11-2021, 08:03 AM   #676
capink
Wizard
capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.
 
Posts: 1,203
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
The single field edit actually calls set_field() once per field for all book_ids in the scope (single call per field). But if you use multiple single field actions for different fields, it will call set_field() for each field. AFAIK you cannot call set_field() for multiple fields.

Edit: Also if for some reason a user is changing the same field more than once in the same chain (I don't know why anyone would do this), he can use the set_book_vars(), and commit only the final change at the very end using single field edit.

Last edited by capink; 09-11-2021 at 08:17 AM.
capink is offline   Reply With Quote