1
0
Fork 0
mirror of https://github.com/HenkKalkwater/harbour-sailfin.git synced 2024-12-22 14:05:18 +00:00

Fix user list not displaying

This commit is contained in:
Chris Josten 2022-07-20 23:13:57 +02:00
parent f34f3484f3
commit 62d9b9a73c
No known key found for this signature in database
GPG key ID: A69C050E9FD9FF6A
2 changed files with 10 additions and 0 deletions

View file

@ -249,6 +249,8 @@ extern template void setRequestLimit(Loader::GetItemsByUserIdParams &params, int
extern template bool setRequestStartIndex(Loader::GetItemsByUserIdParams &params, int offset);
extern template void setRequestLimit(Loader::GetResumeItemsParams &params, int limit);
extern template bool setRequestStartIndex(Loader::GetResumeItemsParams &params, int offset);
extern template void setRequestLimit(Loader::GetPublicUsersParams &params, int limit);
extern template bool setRequestStartIndex(Loader::GetPublicUsersParams &params, int offset);
extern template QList<DTO::UserDto> extractRecords(const QList<DTO::UserDto> &result);
extern template int extractTotalRecordCount(const QList<DTO::UserDto> &result);

View file

@ -165,6 +165,14 @@ bool setRequestStartIndex(Loader::GetResumeItemsParams &params, int index) {
return true;
}
template<>
void setRequestLimit(Loader::GetPublicUsersParams &/*params*/, int /*limit*/) {
// NOOP
}
template<>
bool setRequestStartIndex(Loader::GetPublicUsersParams &/*params*/, int /*offset*/) {
return false;
}
template<>
QList<DTO::UserDto> extractRecords(const QList<DTO::UserDto> &result) {