Changeset 15297 for main/waeup.kofa


Ignore:
Timestamp:
16 Jan 2019, 12:20:18 (6 years ago)
Author:
Henrik Bettermann
Message:

Remove bug. paysession is a string.

Location:
main/waeup.kofa/trunk/src/waeup/kofa/students
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/browser_templates/exportconfig.pt

    r15055 r15297  
    8484    <br />
    8585    <label for="paysession" i18n:translate="">
    86       Payment Sessions
     86      Payment Session
    8787    </label>
    8888    <select name="paysession" class="form-control half">
  • main/waeup.kofa/trunk/src/waeup/kofa/students/export.py

    r15278 r15297  
    154154            if paycat not in ('all', None) and payment.p_category != paycat:
    155155                continue
    156             if paysession not in ('all', None) and payment.p_session != paysession:
     156            if paysession not in ('all', None) \
     157                and payment.p_session != int(paysession):
    157158                continue
    158159            payments.append(payment)
Note: See TracChangeset for help on using the changeset viewer.