Menu

#4750 Wrong ticket count for Advanced Search

open
nobody
None
2019-02-21
2019-02-21
Anonymous
No

Originally created by: TheHADILP

Prerequisites

  • [ ] Can you reproduce the problem in a fresh installation of the "develop" branch?
  • [ ] Do you have any errors in the PHP error log, or javascript console?
  • [x] Did you check the osTicket forums?
  • [x] Did you perform a cursory search to see if your bug or enhancement is already reported?

Description

When an advanced search is performed, the ticket counter in the bottom right corner is wrong

Note: This ONLY happens in the Advanced Search list, other lists e.g. Open, Closed display the right count numbers.

Tested on multiple fresh installations of 1.11: bug appears
Tested on develop branch: works correctly

Steps to Reproduce

  1. Navigate to Tickets --> Search
  2. Choose any Criteria you like (e.g. TicketStatus --> is --> Open)
  3. Results show the wrong counter

peek 2019-02-21 11-33

Expected behavior:
Right counter in the bottom right corner.

Actual behavior:
Wrong counter in the bottom right corner. (Always: 1 - 25 of 500)

Versions

Server-OS: Ubuntu 18.04.1
Browser: Chromium Version 71.0.3578.98

1 Attachments

Related

Tickets: #4752

Discussion

  • Anonymous

    Anonymous - 2019-02-21

    Originally posted by: theking81

    Yes I tested this and I have the same output as above.
    So this is a bug.

    Server Information

    osTicket Version | v1.11 (7b1eee8) —  Up to date
    Web Server Software | Apache
    MySQL Version | 5.7.25
    PHP Version | 7.2.15

     
  • Anonymous

    Anonymous - 2019-02-21

    Originally posted by: TheHADILP

    Found a hard-coded 500 in include/class.search.php.
    Pull request will follow.

     
  • Anonymous

    Anonymous - 2019-02-21

    Originally posted by: theking81

    Yes this issue now its fixed thanks @TheHADILP

     

Log in to post a comment.

MongoDB Logo MongoDB