sbsdev / daisyproducer2

An integrated production management system for accessible media
GNU Affero General Public License v3.0
0 stars 0 forks source link

Insert stats about unknown words into `statistics_documentstatistic` #94

Open egli opened 3 years ago

egli commented 3 years ago

The old system used to insert the number of total words and unknown words into a separate table statistics_documentstatistic

egli commented 3 years ago

Well unfortunately the commit above doesn't work as it does a select with a limit of 20, so the number of unknown words is always 20 :disappointed: . There is a commit (25354d5afe35dacb18611ac901480e4b48e56d00) which rectifies this problem, but it is ugly, so I moved it to a branch.

Let's look at this again after the db migration to aggregated tables.