keep filter and order settings when updating a card
[confetti] / actions / edit_attendee.sh
1 #!/bin/zsh
2
3 cgi_refdata
4
5 card="$_GET[\"card\"]"
6 debug card: $card
7 filter="&filter=$_REF[\"filter\"]"
8 filtertype="&filtertype=$_REF[\"filtertype\"]"
9 order="&order=$_REF[\"order\"]"
10
11 echo -n "Location: http://$HTTP_HOST/?page=attendees${filter}${filtertype}${order}&edit=$card\n\n"