Hello guys, I have hard time trying to create a custom parser for tablesorter. Basically I have a table with a list of projects, each project has a status (an integer 1 to 7) but in the table itself I want to display the status meaning (1=submitted, 2=approved and so on ...) so I'm trying to create a custom parser that order to project by status (1- >7) and not by meaning (a->z). Following the plugin docs (http://tablesorter.com/docs/example- parsers.html) I have created my parser where I replace all the 7 statuses but when my table doesn't contain at least 1 project per each status the parser doesn't work and the table is nor shown.
Is there a way to fix this issue? THANKS Sig