alfio-event / alfio-event/alf.io
Additional option export contains options from canceled tickets
- Linguagem predominante
- Java
- Estrelas
- 1.6k
- Forks
- 396
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
**Describe the bug**
Export done using the `/events/{eventName}/additional-services/{type}/export` endpoint contain also items from canceled reservations.
The `status` column in `additional_service_item` is set correctly to `CANCELLED` in this case.
**To Reproduce**
Steps to reproduce the behavior:
1. Goto additional options of an events
2. Click on 'Purchased items'
3. Find items of canceled people in the excel
**Expected behavior**
Additional items of people who canceled should be filtered out.
**Additional context**
I think the issue can be fixed with an where clause in `getAdditionalServicesOfTypeForEvent` in `AdditionalServiceItemRepository`. Could try to implement this if the maintainers think that this is the right place.
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Avaliação
Esta issue ainda não foi avaliada.