mirror of
https://github.com/Telecominfraproject/wlan-cloud-owprov.git
synced 2025-11-05 04:58:03 +00:00
Framework update.
This commit is contained in:
@@ -34,11 +34,16 @@ namespace OpenWifi{
|
||||
}
|
||||
|
||||
void RESTAPI_inventory_list_handler::DoGet() {
|
||||
std::string UUID;
|
||||
std::string Arg,Arg2;
|
||||
|
||||
if(GetBoolParameter("orderSpec")) {
|
||||
return ReturnFieldList(DB_,*this);
|
||||
}
|
||||
|
||||
bool SerialOnly=GetBoolParameter("serialOnly");
|
||||
|
||||
std::string UUID;
|
||||
std::string Arg,Arg2;
|
||||
|
||||
std::string OrderBy{" ORDER BY serialNumber ASC "};
|
||||
if(HasParameter("orderBy",Arg)) {
|
||||
if(!DB_.PrepareOrderBy(Arg,OrderBy)) {
|
||||
|
||||
Reference in New Issue
Block a user