![]() |
#1 |
Library Breeder (She/Her)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,183
Karma: 1900479
Join Date: Apr 2015
Location: Fullerton, California
Device: Kobo Aura HD (1) PW3 (4) PW3 2019 new edition (1)
|
Icon rule for matching or non-matching columns
I have a column that I fill with icons pertaining to my Goodreads shelves. Since I import the library csv from Goodreads into Calibre I like to have a second column labled "#long_comments_to_copy" this is where my reviews go before determining if they are already in my library in their designated "#gr_reviews" column. Sometimes I update a review or somehow get a review deleted or removed from either my library or Goodreads so when I import the new reviews into this column (the long comments column) I compare it to the current review column and see where there needs to be updates or just delete the import column.
Long story for a request on how I could include a new icon in my Goodreads Info column to indicate if the content in one column matches the content in another. I don't want to open up and read each review (I have about 400 of them) to compare with the imported ones to make sure they are current. I would much rather scroll down the list looking for a designated icon letting me know that I need to check it out. Suggestions? Would be nice if column rules would allow an option for this (If #column_a contains/equals/does not equal/does not contain/matches #column_b) |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,908
Karma: 7076137
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
You can do this with an advanced icon rule, something like this:
The template text is Code:
program: if $#long_comments_to_copy == $#gr_reviews then 'cry-icon.png' else '' fi Personally, I would do this with a saved template search instead of an icon. With that I get the answer without scanning the booklist for the icon and there wouldn't be any performance hit. The search would be something like this: |
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Underscores matching anything???!!! | wgrillo | Library Management | 2 | 07-13-2023 05:17 AM |
Template: Strcat matching | ownedbycats | Library Management | 7 | 03-20-2021 10:15 PM |
Reusing a custom column saved other columns as advanced icon-rule | Tanjamuse | Library Management | 1 | 03-06-2020 06:08 AM |
Ungreedy matching in S&R | BobC | Editor | 4 | 01-18-2014 01:31 PM |
Better matching/scanning | lbutlr | Calibre | 3 | 08-04-2010 03:44 PM |