Quote:
Originally Posted by ownedbycats
I looked through my composite columns for any reference to virtual_libraries().
I found one in the composite I use to generate part of my save-to-device save template, but I don't think it's referenced anywhere else (except the save template obviously). I changed it to use a non-VL check instead.
I also ran through my Cleanup saved searches as I use them for my 'Cleanup' VL. Nothing checking virtual libaries there.
There's a few virtual_libraries() references in my column icons. I don't think there's any relation there especially since I don't think it's possible to reference the icons elsewhere.
Another thought: I do have a custom column for displaying the read status in the tag browser and book details. I wonder if making the VL reference that instead would change anything.
Code:
program:
if readstatus()=='currentlyreading' then 'Currently Reading'
elif readstatus()=='toberead' then 'To Be Read'
elif readstatus()=='read' then 'Read'
elif readstatus()=='unread' then 'Unread'
elif readstatus()=='Undefined' then ''
fi
(Could probably make this a switch_if, will try later.)
|
Do you have a column showing the virtual libraries for a book? If so you should look for references to that column, including naked searches.
The source for the readstatus() stored template doesn't seem to reference composites. How could it be changed to use virtual_libraries()?
FWIW: In the program above, you should call readstatus() once, save the result to a variable, then check that variable. Calling it on every if branch will be much slower.