Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the ability to order Sections differently #16

Open
dracos opened this issue Apr 2, 2013 · 4 comments
Open

Add the ability to order Sections differently #16

dracos opened this issue Apr 2, 2013 · 4 comments

Comments

@dracos
Copy link
Member

dracos commented Apr 2, 2013

Sections are listed by time of Speeches under them if there are any times, falling back to Section insertion (ID) order. This works okay, but you might want to e.g. insert two sets of same-date written answers (each a separate Section containing question and answer) to a particular department and have all topics listed in alphabetical order, not insertion order.

To consider - order_with_respect_to (adds column, manual (re)ordering then possible); a flag on Section to say "order its children this way" (dunno if recursive query will make that tricky, but current ordering is done in python after fetching anyway).

@clkao
Copy link

clkao commented Aug 16, 2014

+1

@clkao
Copy link

clkao commented Aug 22, 2014

from openhousens.ca

@jpmckinney
Copy link
Contributor

Hi @clkao I see you linked to our load_popolo.py management command. It currently makes assumptions about how the API with Popolo data is structured - but I've been meaning to make it more generic, so if you intend to use something like it, I'd be happy to collaborate.

@dracos
Copy link
Member Author

dracos commented Aug 22, 2014

Related tickets for loading:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants