Menu

#3066 Daysheets doesn't show the 'c' status

RELEASE_12_1
closed-fixed
Nick
None
3
2014-10-23
2014-01-28
Hagir
No

The 'c' status (lower case) is one of the customizable appointment statuses under Oscar. When printing the daysheet (Report>All Appointments), the appointment with these statuses don't get pulled.

The cause is that reportdaysheet.jsp runs queries that are not case sensitive to exclude the cancelled appointments 'C'. "BINARY" condition must be added to the query to make it case sensitive following the template:
SELECT * FROM appointment WHERE BINARY status != 'C'

Discussion

  • Nick

    Nick - 2014-02-16
    • assigned_to: Nick
     
  • Nick

    Nick - 2014-03-04
     
    • Nick

      Nick - 2014-03-06
       

      Last edit: Nick 2014-03-06
  • Nick

    Nick - 2014-03-04
    • status: open --> open-fixed
     
  • Hagir

    Hagir - 2014-05-15

    This does not solve the problem. Adding UPPER function just capitalizes the status and it ends up being considered as cancelled. i.e. I enter appointment with status "c" it gets capitalized "C" then compared to cancelled status "C" and it matches for cancelled while it isn't.

    This is simply fixed with a binary clause, and not upper.

     
  • Hagir

    Hagir - 2014-05-15
    • status: open-fixed --> open
     
  • Hagir

    Hagir - 2014-09-03
    • status: open --> open-fixed
     
  • SBek

    SBek - 2014-10-08

    Retested Master (build #2190) -> resolved
    R12.1 commit: https://source.oscartools.org:8080/#/c/10878/ -> still awaiting code review

     
  • SBek

    SBek - 2014-10-23
    • status: open-fixed --> closed-fixed
     
  • SBek

    SBek - 2014-10-23

    Re-tested R12.1 (build #440) -> issue has been resolved.

     
MongoDB Logo MongoDB