How to Delete More Than 50 Tickets for Each Execution in osTicket v1.6 RC5
Sometimes, after the certain period you did some tests for your osTicket System, you have produced so many records in your ost_ticket table and want to remove all of them for each execution for the certain number of tickets. Let’s say you want to remove 100 tickets for each removing execution from the tickets list in staff panel. Unfortunately, osTicket only provided you the maximum options up to 50 tickets per page from the Preference page in admin panel, whereas you wanted to define more than 50 tickets for each execution. Here is the trick how you can overcome it.
-
Open your \include\staff\preference.inc.php file, and find this code:
81
for ($i = 5; $i <= 50; $i += 5) {
then replace with this following code:
81
for ($i = 5; $i <= 100; $i += 5) {
- Go to Admin Panel -> Settings -> Preferences -> then choose 100 from the Default Page Size: directive, then save the setting.
- Go to tickets list page, then you will see now your tickets list is displaying 100 records per page, so that you can select all the tickets on the list, afterwards, delete those selected ticket items easily.
Hopefully this will be helpful.
Print This Post
Recent Comments