You are required to register before you can post. This is via a custom verification system. Please post any problems you are encountering here and I`ll do my best to respond as soon as I can. Please note that a reply WILL be posted to all queries, so do not double post. There are no guarantees
when a reply will appear but I do my best to answer all within 3/4 days max. Bumping topics won`t make the slightest difference.
IMPORTANT: Posts in English ONLY please, thank you! Any other languages will be ignored and your message deleted.
SEARCH: Use the search option to see if your question has been answered on the forum before. Or check the relevant script docs.
CUSTOMER: If you have purchased a commercial version of any of my software, using the contact option at the licence centre ensures a faster response.
AUTO DELETION: Accounts older than 5 days, with no posts or topics, are automatically deleted. Only register if you are thinking of posting.
PRIVATE MESSAGES: Private messages are currently disabled.
LINKS: Any links posted are 'NOFOLLOW' and will not be picked up by search engines.
Your program is working well for us. One question I have is about sorting. I can't figure out what order the tickets come up in. It would be fine if it came up in ticket # order or date order when I browse tickets. Right now, it seems random.
I was looking in the program since I know PHP, but it's sourceguardian, so I can't add a sort "order by" command to any of the mysql statements or I would do it myself instead of bugging you.
I also noticed the first 5 seem to be highlighted with a box around them and the others don't have a box. I'm not sure if there is a signficance to the first 5 in the list. They seem to start in ticket order but then it gets mixed up. If you need an admin account, I can add one for you, if this isn't usually the way it works.
Last edited by cohenmitch (24-07-2010 17:05:09)
Glad the program is working ok. Tickets are grouped by priority. High priority first, then medium, then low. The ones highlighted should be 'High' priority. After the priority ordering they are then grouped by id.
If you have a couple of high priority tickets, and then later a low priority ticket is opened, the high priority remain at the top.
If you would prefer the ordering done some other way, then let me know and I`ll send you the modified files. Actually, as you have mentioned it, I`ll move this to the defined file so it can be changed by users.
Ok, I`ve made this adjustable for users. Re-download Maian Support and replace the following:
Add the following to the 'admin/control/defined.inc.php' file:
define('MYSQL_TICKET_ORDERING', 'ORDER BY ticketStatus,FIELD(priority,\'high\',\'medium\',\'low\'),id DESC');
So, to have the display in the order the tickets are coming in, you would do:
define('MYSQL_TICKET_ORDERING', 'ORDER BY id DESC');
Hope that helps.
Thanks David. That worked.
It's much easier for me to see the tickets when I enter the system in ticket order with the newest at the top, and I can scan through quickly. Thanks so much.
David, I found that sorting by lastUpdate has made things much more efficient for me. I'm adding this in case others wish to try it. It shows the tickets that were most recently responded to at the top. I normally filter those waiting for Admin response. So when I sort by lastUpdate, it puts the most recent customer responses at the top (which is the way I like to view it). To make this work, I added an index for lastUpdate in the mysql table. Then I just changed your new parameter line to:
define('MYSQL_TICKET_ORDERING', 'ORDER BY lastUpdate DESC');
It didn't work when I tried this without adding the index first.
It would also be a nice feature to see "updated: (with the date)" added to your status line.
Thanks for the flexibility to be able to try out some different sorting choices.
You`re welcome Mitch, glad the change made things better for you. If you do have any other feedback, don`t hesitate to let me know. I`ve added the 'Last Updated' option to my suggestions list, this will definitely be in the next update. Spam filters for imap should also make it in the next release.