Coder Social home page Coder Social logo

Comments (3)

engram-design avatar engram-design commented on September 2, 2024

The only way I'm seeing this, is if the "Total Capacity" is empty, and you delete all the tickets. The capacity will be set to 0.

The capacity of an event should be independent of the ticket quantities. The only case where it will populate the total capacity is if that's empty. For example, you skip setting the capacity, and create your tickets with the quantity. It'd be useless to have an event with 0 capacity, while having tickets available for purchase - but you can't buy any with a 0 capacity.

Is this the behaviour that is an issue for you?

from events.

anchovy avatar anchovy commented on September 2, 2024

Yep / that's what's happening. I can see instances where an admin creates/edits an event and adds a ticket, realises its the wrong ticket type and rather than change the ticket type deletes the ticket and adds a new one - not realising that the total capacity has been automagically set to 0.

Also, in our case, we have a ticket type that will never have a max capacity so we'll never want a max capacity of 0.

I could understand if the default capacity was 0 and there was a toggle for enforcing max capacity, but there isn't, so this value shouldn't be arbitrary set when all tickets have been deleted. Also,the notes say something like this is limit is independent of the individual ticket quantities, so again shouldn't be set based on a ticked change/deletion.

(Sorry for the rambling notes!)

from events.

engram-design avatar engram-design commented on September 2, 2024

Fair enough, I'll give this some thought. I just wanted to check as I couldn't replicate it with a value set in the total capacity field, when adding or deleting tickets.

from events.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.