Adding paged loading of links.
This commit is contained in:
@@ -12,6 +12,7 @@ use super::general::{EditMode, Filter, Operation, Ordering};
|
||||
pub struct LinkRequestForm {
|
||||
pub filter: EnumMap<LinkOverviewColumns, Filter>,
|
||||
pub order: Option<Operation<LinkOverviewColumns, Ordering>>,
|
||||
pub offset: usize,
|
||||
pub amount: usize,
|
||||
}
|
||||
|
||||
@@ -20,7 +21,8 @@ impl Default for LinkRequestForm {
|
||||
Self {
|
||||
filter: EnumMap::default(),
|
||||
order: None,
|
||||
amount: 20,
|
||||
offset: 0,
|
||||
amount: 60,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user