View Single Post
Old 10-06-2022, 01:17 PM   #928
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,509
Karma: 8065348
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by capink View Post
It performs reasonably well on my system. Below is a modified version that has a couple of differences:
[*]It does not require a custom column, instead it displays the results immediately. From there the user can choose to select all books and bulk edit them if he wishes.
Hmmm, I think I would want it to do the work directly. However, your version lets the user decide what the "work" is, which can be a good thing. It also works without modifying the chain, which is excellent for non-technical people.
Quote:
[*]This is a technical and a non significant change. It uses category_items('series') to list all the series. Note that the resulting list is separated by ':::', so the for loop is modified accordingly.
category_items() is a much better, clearer way to do it. Thanks!

Attached is a copy of my chain that uses template scopes instead of selections, using category_items() in the scope template.

Now @Hukuro gets to pick which one to use. @Hukuro: it should be @capink's version or the one on this post, suitably modified. The differences:
  • @capinks will work without modifying the chain. You must decide what to do with the list of marked books. It very easily could be that marking the books is sufficient for your needs.
  • Mine won't work out of the box. You must change the Single Field Edits to use your custom Yes/No column. You might need to create that column. It sets the column so you don't have any post processing.
Attached Files
File Type: zip First book in series template scope take 2.zip (742 Bytes, 217 views)
chaley is offline   Reply With Quote