Skip to content

Commit

Permalink
Merge pull request #138 from A-Baji/map-dest-template
Browse files Browse the repository at this point in the history
templating for table dest mapping and update ver and changelog
  • Loading branch information
guzman-raphael authored Oct 20, 2022
2 parents ccef4ec + 71f2fd7 commit d2253a4
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

Observes [Semantic Versioning](https://semver.org/spec/v2.0.0.html) standard and [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) convention.

## [0.5.4] - 2022-10-20

### Fixed

- Allow form component table map destination templating PR [#138](https://github.com/datajoint/pharus/pull/138)

## [0.5.3] - 2022-10-11

### Fixed
Expand Down
8 changes: 6 additions & 2 deletions pharus/component_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,12 @@ def fields_route(self):
return dict(
fields=[
dict(
(field := source_fields.pop(m["destination"])),
name=m.get("input", m["destination"]),
(
field := source_fields.pop(
(m_destination := m["destination"].format(**request.args))
)
),
name=m.get("input", m_destination),
**(
{
"values": [
Expand Down
2 changes: 1 addition & 1 deletion pharus/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"""Package metadata."""
__version__ = "0.5.3"
__version__ = "0.5.4"

0 comments on commit d2253a4

Please sign in to comment.