Skip to content
Snippets Groups Projects
Commit d8f72a65 authored by Benedikt Heinrichs's avatar Benedikt Heinrichs
Browse files

Fix: Search All PIDs

parent e719eecd
Branches
Tags
2 merge requests!8Chore: 2.0.2,!7Fix: Search All PIDs
MIT License MIT License
Copyright (c) 2019 RWTH Aachen University Copyright (c) 2023 RWTH Aachen University
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
<ItemGroup> <ItemGroup>
<PackageReference Include="Coscine.Action" Version="3.*-*" /> <PackageReference Include="Coscine.Action" Version="3.*-*" />
<PackageReference Include="Coscine.ProxyApi" Version="3.0.3" />
</ItemGroup> </ItemGroup>
</Project> </Project>
...@@ -34,7 +34,7 @@ public static class Program ...@@ -34,7 +34,7 @@ public static class Program
/*==============================================*/ /*==============================================*/
Console.WriteLine($"- Searching for PIDs containing \"{hostUrl}\" ..."); Console.WriteLine($"- Searching for PIDs containing \"{hostUrl}\" ...");
var pidMatches = epicClient.Search($"*{hostUrl}*"); // Define as wildcard with *<text>* var pidMatches = epicClient.SearchAll($"*{hostUrl}*"); // Define as wildcard with *<text>*
Console.WriteLine($"- Search yelded {pidMatches.Count()} results"); Console.WriteLine($"- Search yelded {pidMatches.Count()} results");
var projectModel = new ProjectModel(); var projectModel = new ProjectModel();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment