mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-26 02:30:21 -06:00
Fixed an issue where the user can't debug function with timestamp parameter. Fixes #6986
This commit is contained in:
parent
3d5d507f4b
commit
a5b79564ff
@ -18,3 +18,4 @@ Bug fixes
|
||||
*********
|
||||
|
||||
| `Issue #6906 <https://redmine.postgresql.org/issues/6906>`_ - Fixed an issue where referenced table drop-down should be disabled in foreign key -> columns after one row is added.
|
||||
| `Issue #6986 <https://redmine.postgresql.org/issues/6986>`_ - Fixed an issue where the user can't debug function with timestamp parameter.
|
||||
|
@ -11,9 +11,9 @@
|
||||
{% if data %}
|
||||
{% for dict_item in data %}
|
||||
{% if 'type' in dict_item and 'value' in dict_item %}
|
||||
{% if dict_item['value'] != 'NULL' and '[]' not in dict_item['type'] %}
|
||||
{% if ('NULL:' not in dict_item['value']|string and dict_item['value'] != 'NULL' and '[]' not in dict_item['type']) %}
|
||||
{{ dict_item['value']|qtLiteral }}::{{ dict_item['type'] }}{% if not loop.last %}, {% endif %}
|
||||
{% elif dict_item['value'] == 'NULL' %}
|
||||
{% elif dict_item['value'] == 'NULL' or 'NULL:' in dict_item['value'] %}
|
||||
{{ dict_item['value'] }}::{{ dict_item['type'] }}{% if not loop.last %}, {% endif %}
|
||||
{% else %}
|
||||
{% if '[]' in dict_item['type'] %}
|
||||
|
Loading…
Reference in New Issue
Block a user