Skip to content

Commit

Permalink
Fix GetListByFilter
Browse files Browse the repository at this point in the history
  • Loading branch information
levichevdmitry committed May 6, 2021
1 parent 613653f commit a96de23
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# <img src="https://uploads-ssl.webflow.com/5ea5d3315186cf5ec60c3ee4/5edf1c94ce4c859f2b188094_logo.svg" alt="Pip.Services Logo" width="200"> <br/> Persistence components for Golang Changelog


## <a name="1.1.4"></a> 1.1.4 (2021-05-06)
### Bug Fixes
- Fix error in GetListByFilter when filter function is nil

## <a name="1.1.3"></a> 1.1.3 (2021-04-30)
### Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion component.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pip-services3-data-go",
"registry": "github.com/pip-services3-go",
"version": "1.1.3",
"version": "1.1.4",
"build": 0
}
1 change: 1 addition & 0 deletions persistence/MemoryPersistence.go
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@ func (c *MemoryPersistence) GetListByFilter(correlationId string, filterFunc fun
}
}
} else {
results = make([]interface{}, len(c.Items))
copy(results, c.Items)
}

Expand Down

0 comments on commit a96de23

Please sign in to comment.