#3529 - Possible incorrect URL parameter passed in SUPPORT_TICKET_SCREEN.tpl

  • By
  • Added
  • 3 views
Identifier #3529
Issue type Trivial issue (does not break functionality)
Title Possible incorrect URL parameter passed in SUPPORT_TICKET_SCREEN.tpl
Status Completed
Handling member Chris Graham
Addon tickets
Description SUPPORT_TICKET_SCREEN.tpl, line 115:
2_URL={$PAGE_LINK*,_SEARCH:tickets:ticket:default={TICKET_TYPE_ID}:post={!TICKET_SPLIT_POST&,{USERNAME}}:post_as={USERNAME}}

default= may need to be changed to ticket_type_id=

...in order to choose a default ticket type ID, ticket_type_id must be passed.

default= seems to do nothing here
Steps to reproduce

Additional information I was modifying templates and noticed I could pass additional parameters in URLs to automatically select the ticket type. Upon testing, passing the default= parameter didn't seem to select the ticket type, but when I used ticket_type_id=, this seemed to work.
Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated