Skip to content

Commit

Permalink
Merge pull request #450 from intersystems/fix-449
Browse files Browse the repository at this point in the history
fix: also look for % items in folder with % stripped
  • Loading branch information
isc-tleavitt authored Apr 12, 2024
2 parents 0341c63 + a35ef09 commit 9113a83
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ Method OnPhase(pPhase As %String, ByRef pParams, Output pResourceHandled As %Boo
Set tListNames = tListNames _ $ListBuild(tName)
Set tListNames = tListNames _ $ListBuild($Translate(tName, "%", "_"))
Set tListNames = tListNames _ $ListBuild($Translate(tName, "_", ""))
Set tListNames = tListNames _ $ListBuild($Translate(tName, "%", ""))

Set ptrn = 0
While $ListNext(tListNames, ptrn, tName) {
Expand Down Expand Up @@ -603,3 +604,4 @@ Method OnGetUniqueName(Output pUniqueName)
}

}

0 comments on commit 9113a83

Please sign in to comment.