mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: move total rows count & load more URL inside meta.
We're fetching "total rows count" from root attributes only if meta object not found. 2b78bd01ab/app/assets/javascripts/discourse/models/store.js (L236)
This commit is contained in:
@@ -602,8 +602,11 @@ export default {
|
||||
post_count: 146
|
||||
}
|
||||
],
|
||||
total_rows_directory_items: 12546,
|
||||
load_more_directory_items:
|
||||
"/directory_items?id=all&order=likes_received&page=1"
|
||||
meta: {
|
||||
last_updated_at: "2020-04-02T02:19:20.000Z",
|
||||
total_rows_directory_items: 12546,
|
||||
load_more_directory_items:
|
||||
"/directory_items?id=all&order=likes_received&page=1"
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user