kendarorg / PhpNuget

Php nuget manager supporting complex queries on txt files or MySQL
http://www.kendar.org/?p=/dotnet/phpnuget
Other
23 stars 15 forks source link

MySql-Target framework not managed #43

Closed kendarorg closed 9 years ago

kendarorg commented 9 years ago

The call to: http://localhost:8020/pnm/api/v2/Search%28%29/$count?$filter=IsLatestVersion&searchTerm=%27%27&targetFramework=%27net45%27&includePrerelease=false

Result in the query SELECT * FROM (SELECT * FROM nugetdb_pkg WHERE TargetFramework='' or TargetFramework LIKE '%net45%' and IsPreRelease=false and Listed=true ORDER BY Title ASC , Version0 DESC,Version1 DESC,Version2 DESC,Version3 DESC,VersionBeta ASC ) as TB GROUP BY Id

That, investigating on the data inside the db results in the target framework field not getting filled

: