mdoerk/seng513project

Clicking on tag links when viewing issue throws exception

Opened this issue · 2 comments

dta commented

If you click on any of the tag links when viewing an issue, an exception is thrown.

/node_modules/searchTagIssue.js:30
dbAccess.runQuery(sqlQuery, listIssues.getNumPageTotal(1, 'lastModified',
^
TypeError: Object # has no method 'getNumPageTotal'
at /home/ugb/dta/seng513project/node_modules/searchTagIssue.js:30:44
at /home/ugb/dta/seng513project/node_modules/tags.js:200:37
at /home/ugb/dta/seng513project/node_modules/dbAccess.js:273:42

I'll look into this.

I'm going to release this issue for someone else to do. I found where the issue is but I have no idea what I need to do to fix it without breaking things further.

The problem is that the function getNumPageTotal has been replaced by another function in listIssues. What I couldn't sort out is how to re-arrange the arguments in order to make it work.