sandy9999 / WorkGen

WorkGen is a collaboration with TeachForIndia in an effort to use technology to aid teachers around the country by automating question paper generation
https://workgen.org
4 stars 5 forks source link

Remove sections having no questions in chosen chapters #49

Closed Jayashrri closed 5 years ago

Jayashrri commented 5 years ago

Fixes issue #31 In the table to select the number of questions from each question type, hides those sections which have no questions for the selected chapters

ishanisri commented 5 years ago

This is not what the issue meant. We cannot remove sections before the user has selected the number of questions needed in each question.
The generated question paper currently looks like this:

And this issue should remove altogether the sections with 0 questions, with the paper now looking like:

ishanisri commented 5 years ago

Revert this commit and start again. Also, edit the name of the PR and make it clear and simple so that it self explains the objective it tries to achieve.

Jayashrri commented 5 years ago

Alright, I understood. Sorry for misunderstanding the issue.