|
|
#1 |
|
Library Breeder (She/Her)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,301
Karma: 1937893
Join Date: Apr 2015
Location: Fullerton, California
Device: Paperwhite 2015 (2), PW 2024 (12 GEN), PW 2023 (11 GEN), Scribe (1st)
|
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: 12,525
Karma: 8065948
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 | |
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Underscores matching anything???!!! | wgrillo | Library Management | 2 | 07-13-2023 06:17 AM |
| Template: Strcat matching | ownedbycats | Library Management | 7 | 03-20-2021 11:15 PM |
| Reusing a custom column saved other columns as advanced icon-rule | Tanjamuse | Library Management | 1 | 03-06-2020 07:08 AM |
| Ungreedy matching in S&R | BobC | Editor | 4 | 01-18-2014 02:31 PM |
| Better matching/scanning | lbutlr | Calibre | 3 | 08-04-2010 04:44 PM |