Skip to content

Commit

Permalink
GetObjectsByFolderName uses 'like'
Browse files Browse the repository at this point in the history
  • Loading branch information
NowinskiK committed Sep 8, 2020
1 parent d968848 commit d19cc8c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [0.15.0] - 2020-09-08
### Added
* Support of JSON format for config files
* Support of Global Parameters
* Support of Global Parameters (#29)
### Changed
* Function GetObjectsByFolderName (Adf class) uses LIKE operator (#31)

## [0.14.0] - 2020-07-26
### Changed
Expand Down
2 changes: 1 addition & 1 deletion private/Adf.class.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class Adf {
[hashtable] $r = @{}
$this.AllObjects() | ForEach-Object {
$ofn = $_.GetFolderName()
if ($ofn -eq $folder)
if ($ofn -like $folder)
{
$oname = $_.FullName($false);
$null = $r.Add($oname, $_)
Expand Down

0 comments on commit d19cc8c

Please sign in to comment.