Compare commits
2 commits
2308d2e240
...
c6365f2631
Author | SHA1 | Date | |
---|---|---|---|
c6365f2631 | |||
d520f64fee |
|
@ -5,6 +5,13 @@ All notable changes to Tailbone will be documented in this file.
|
||||||
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
||||||
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## v0.21.11 (2024-10-03)
|
||||||
|
|
||||||
|
### Fix
|
||||||
|
|
||||||
|
- custom method for adding grid action
|
||||||
|
- become/stop root should redirect to previous url
|
||||||
|
|
||||||
## v0.21.10 (2024-09-15)
|
## v0.21.10 (2024-09-15)
|
||||||
|
|
||||||
### Fix
|
### Fix
|
||||||
|
|
|
@ -6,7 +6,7 @@ build-backend = "hatchling.build"
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "Tailbone"
|
name = "Tailbone"
|
||||||
version = "0.21.10"
|
version = "0.21.11"
|
||||||
description = "Backoffice Web Application for Rattail"
|
description = "Backoffice Web Application for Rattail"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
authors = [{name = "Lance Edgar", email = "lance@edbob.org"}]
|
authors = [{name = "Lance Edgar", email = "lance@edbob.org"}]
|
||||||
|
|
|
@ -1544,6 +1544,11 @@ class Grid(WuttaGrid):
|
||||||
self._table_data = results
|
self._table_data = results
|
||||||
return self._table_data
|
return self._table_data
|
||||||
|
|
||||||
|
# TODO: remove this when we use upstream GridAction
|
||||||
|
def add_action(self, key, **kwargs):
|
||||||
|
""" """
|
||||||
|
self.actions.append(GridAction(self.request, key, **kwargs))
|
||||||
|
|
||||||
def set_action_urls(self, row, rowobj, i):
|
def set_action_urls(self, row, rowobj, i):
|
||||||
"""
|
"""
|
||||||
Pre-generate all action URLs for the given data row. Meant for use
|
Pre-generate all action URLs for the given data row. Meant for use
|
||||||
|
|
Loading…
Reference in a new issue