fix Issue 11479 - template members ignore private attribute in ddoc
Merge pull request #2900 from 9rnsr/fix11479

Issue 11479 - template members ignore private attribute in ddoc