View Single Post
Old 06-10-2016, 11:53 PM   #1
botmtl
Enthusiast
botmtl really knows where his or her towel isbotmtl really knows where his or her towel isbotmtl really knows where his or her towel isbotmtl really knows where his or her towel isbotmtl really knows where his or her towel isbotmtl really knows where his or her towel isbotmtl really knows where his or her towel isbotmtl really knows where his or her towel isbotmtl really knows where his or her towel isbotmtl really knows where his or her towel isbotmtl really knows where his or her towel is
 
botmtl's Avatar
 
Posts: 43
Karma: 70238
Join Date: Jun 2014
Device: none
Post {TOC} is always empty (BOOK_STRUCTURE_FIELDS not loaded?)

Project description
getting the number of entries in the toc to show in a custom column.

Similar project that works
getting the number of authors in a custom column ==> {authors:count(,)}

The solution should be {toc:count(,)} but somehow the TOC field is not loaded with the rest of the metadata (it seems).

I also tried to load the missing metadata with template functions, like {:field(toc):count(,)} but no luck.

Can someone shed a light of this problem?
botmtl is offline   Reply With Quote