diff options
| author | Teddy Wing | 2017-06-12 15:32:51 +0200 |
|---|---|---|
| committer | Teddy Wing | 2017-06-12 15:32:51 +0200 |
| commit | 13d921fa0a3c263f30feacc91b337551b99b5865 (patch) | |
| tree | d121a8fc821968a816fe826f36021eae01441cc6 /script | |
| parent | 6fb1431b3a2d3649bbd56ebc527fb45803248c94 (diff) | |
| download | chouette-core-13d921fa0a3c263f30feacc91b337551b99b5865.tar.bz2 | |
TableBuilder#build_column_header: Take Column instead of key & sortable
Now that we have a real `Column` type, it's much easier to just pass a
`Column` object to the method instead of these disconnected attributes.
Now we can get the column attributes from the object itself.
Remove the `#key_or_name` method as it's no longer used.
Also, I decided to reorder the `#build_column_header` arguments to make
`column` the first argument. Figured this made more sense as the method
is all about a column, and the collection model is this weird secondary
thing.
Refs #3479
Diffstat (limited to 'script')
0 files changed, 0 insertions, 0 deletions
