.. instead of using the agent and LS. Results in the total number of documents
that the current user can see.
Now I know this isn't the fastest method of retrieving the total, but
considering it only took about 2 seconds to display my total with 20,000
documents in the view I'm quite impressed.
I've been looking at this and maybe I'm missing something but simply replacing the code used to generate the total with:
@Elements(@DbColumn("":"NoCache";"":"";Viewname;1))
.. instead of using the agent and LS. Results in the total number of documents that the current user can see.
Now I know this isn't the fastest method of retrieving the total, but considering it only took about 2 seconds to display my total with 20,000 documents in the view I'm quite impressed.