tutorialdb icon indicating copy to clipboard operation
tutorialdb copied to clipboard

adding tutorial count to tags

Open Bhupesh-V opened this issue 6 years ago • 4 comments

Is your feature request related to a problem? Please describe. It would be nice to indicate no.of tutorials on each tag on the Tags Page.

Describe the solution you'd like A nice counter attached with each tag showing tutorial count.

Issue raised by José Devezas on DEV.to

Bhupesh-V avatar Oct 11 '19 04:10 Bhupesh-V

New PR: #65

sonicaks avatar Oct 14 '19 04:10 sonicaks

@sonicaks first of all thanks for the PR But the current approach is not efficient because we are storing a redundant column in the table instead of querying. Have a look at this thread on SO and see if we can do the same.

Bhupesh-V avatar Oct 14 '19 06:10 Bhupesh-V

Ok. I get the problem. I'll try with another pull request implementing the annotate method

sonicaks avatar Oct 14 '19 08:10 sonicaks

@Bhupesh-V any update with PR #65

sonicaks avatar Oct 15 '19 15:10 sonicaks