Ticket #2767 (closed enhancement: fixed)

Opened 21 months ago

Last modified 21 months ago

Upgrade macro form.select to use tuples instead of dicts

Reported by: aron.carroll Owned by: aron.carroll
Priority: major Milestone: demo phase 3
Component: ckan Keywords:
Cc: Repository: ckan
Theme: none

Description

This keeps the intended order.

Change History

comment:1 Changed 21 months ago by aron.carroll

  • Status changed from new to closed
  • Resolution set to fixed

Closed as of 25d7499. All form.select() calls now require a tuple/list in the form.

options = (
  {"value": "opt1-value", "text": "Option One Text"},
  {"value": "opt2-value", "text": "Option Two Text"}
)
}}
Note: See TracTickets for help on using tickets.