View Single Post
Old 03-20-2025, 07:41 PM   #1452
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,196
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
Conditions does not check all selected books because they are meant quick branching tool based on things that can be tested quickly like selection_count etc.

If you want to check every book, and only process books that have series column (I suppose that what you want to do), you add a "Search using template" Action and do the following:
  • Make sure the "Select all books resulting from this search" checkbox is ticked.
  • Make sure you select the "template output is a list of book ids" radio button.
  • Use the following template:
    Code:
    program:
        book_ids = '';
        for book_id in from_selection('id'):
            if book_field(book_id, 'series') != '' then
                book_ids = list_union(book_ids, book_id, ',')
            fi
        rof;
        book_ids
This will deselect all books that are not part of a series.

As an aside, attach your screenshots to the post instead of using external sites as they are not showing.
capink is offline   Reply With Quote