Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TicketReservationManager.countAvailableTickets count tickets with "PENDING" status as available #144

Closed
syjer opened this issue Jul 12, 2016 · 2 comments
Labels

Comments

@syjer
Copy link
Member

syjer commented Jul 12, 2016

TicketReservationManager.countAvailableTickets count tickets with "PENDING" status as available.

This could be confusing for the user in the ticket page.

@syjer
Copy link
Member Author

syjer commented Jul 18, 2016

the current status are:

FREE, PENDING, TO_BE_PAID, ACQUIRED, CANCELLED, CHECKED_IN, EXPIRED, INVALIDATED, RELEASED, PRE_RESERVED

The query is:

select count(*) from ticket where status not in ('ACQUIRED', 'CHECKED_IN', 'TO_BE_PAID', 'INVALIDATED', 'CANCELLED') and category_id = :categoryId and event_id = :eventId

@cbellone
Copy link
Member

should be fixed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants