Fixed an issue where the filter 'Include/Exclude By Selection' not working for null values. Fixes #6392

This commit is contained in:
Akshay Joshi 2021-05-11 19:12:43 +05:30
parent 4842d589a6
commit bd7808a104
2 changed files with 3 additions and 2 deletions

View File

@ -29,6 +29,7 @@ Bug fixes
| `Issue #6355 <https://redmine.postgresql.org/issues/6355>`_ - Ensure that pgAdmin should not allow opening external files that are dragged into it. | `Issue #6355 <https://redmine.postgresql.org/issues/6355>`_ - Ensure that pgAdmin should not allow opening external files that are dragged into it.
| `Issue #6377 <https://redmine.postgresql.org/issues/6377>`_ - Fixed an issue where schema diff does not create DROP DEFAULT statement for columns. | `Issue #6377 <https://redmine.postgresql.org/issues/6377>`_ - Fixed an issue where schema diff does not create DROP DEFAULT statement for columns.
| `Issue #6385 <https://redmine.postgresql.org/issues/6385>`_ - Ensure that Backup and Restore should work on shared servers. | `Issue #6385 <https://redmine.postgresql.org/issues/6385>`_ - Ensure that Backup and Restore should work on shared servers.
| `Issue #6392 <https://redmine.postgresql.org/issues/6392>`_ - Fixed an issue where the filter 'Include/Exclude By Selection' not working for null values.
| `Issue #6407 <https://redmine.postgresql.org/issues/6407>`_ - Added support for the creation of Nested Table and Varying Array Type for Advanced Server. | `Issue #6407 <https://redmine.postgresql.org/issues/6407>`_ - Added support for the creation of Nested Table and Varying Array Type for Advanced Server.
| `Issue #6408 <https://redmine.postgresql.org/issues/6408>`_ - Fixed ModuleNotFoundError when running setup.py from outside of the root. | `Issue #6408 <https://redmine.postgresql.org/issues/6408>`_ - Fixed ModuleNotFoundError when running setup.py from outside of the root.
| `Issue #6409 <https://redmine.postgresql.org/issues/6409>`_ - Fixed an issue where the current debug line is not visible in the 'Dark' theme. | `Issue #6409 <https://redmine.postgresql.org/issues/6409>`_ - Fixed an issue where the current debug line is not visible in the 'Dark' theme.

View File

@ -4078,7 +4078,7 @@ define('tools.querytool', [
return; return;
// Add column position and it's value to data // Add column position and it's value to data
data[column_info.field] = _values[column_info.field] || ''; data[column_info.field] = _.isUndefined(_values[column_info.field]) ? '' : _values[column_info.field];
self.trigger( self.trigger(
'pgadmin-sqleditor:loading-icon:show', 'pgadmin-sqleditor:loading-icon:show',
@ -4138,7 +4138,7 @@ define('tools.querytool', [
return; return;
// Add column position and it's value to data // Add column position and it's value to data
data[column_info.field] = _values[column_info.field] || ''; data[column_info.field] = _.isUndefined(_values[column_info.field]) ? '' : _values[column_info.field];
self.trigger( self.trigger(
'pgadmin-sqleditor:loading-icon:show', 'pgadmin-sqleditor:loading-icon:show',