Closed fedys closed 8 years ago
Because for administrators somehow the drafts (eg: isDraft: true) are shown. Drafts do not have a status yet.
Solutions:
I tend to like the first solution better...
Maybe I would add a check in the listing plus add an additional filter called draft with the following options: Do not display (the default one), Only and All
From the users' point of view, I would prefer combining this filter in the status select box, so one can select:
You are right, I did not realize that drafts have no states.
While it is technically possible to implement it the outlined way, there might be privacy issues.
An application draft is created PRIOR to the user accepted (and read) the privacy agreement, which means using the data and displaying them to the admin/recruiters CAN be problematic.
I've talked to @cbleek and he shared my apprehensions. Which means that application drafts MUST NOT be displayed to anyone (except the one who actually created it.)
So Solution 1 must be implemented.
If you are logged as an administrator you get the following notice:
Trying to get property of non-object in /data/www/clients/client1/web1/YAWIK/module/Applications/view/applications/manage/index.recruiter.ajax.phtml on line 170
on the application page.