Added a sentinel when UI limit is hit + a message when nothing found, fixes #358
This commit is contained in:
@@ -110,7 +110,7 @@ namespace lms::db
|
||||
return IdRange<MediumId>{ .first = std::get<0>(res), .last = std::get<1>(res) };
|
||||
}
|
||||
|
||||
RangeResults<MediumId> Medium::findOrphanIds(Session& session, std::optional<Range> range)
|
||||
std::vector<MediumId> Medium::findOrphanIds(Session& session, std::optional<Range> range)
|
||||
{
|
||||
session.checkReadTransaction();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user