MCPcopy Index your code
hub / github.com/TruthHun/BookStack / PageViewSort

Method PageViewSort

models/book_counter.go:113–115  ·  view source on GitHub ↗
(prd period, limit int, withCache ...bool)

Source from the content-addressed store, hash-verified

111}
112
113func (m *BookCounter) PageViewSort(prd period, limit int, withCache ...bool) (books []SortedBook) {
114 return m._sort(prd, limit, "vcnt", withCache...)
115}
116
117func (*BookCounter) _sort(prd period, limit int, orderField string, withCache ...bool) (books []SortedBook) {
118 field := "vcnt" // 浏览

Callers 2

IndexMethod · 0.95
RankMethod · 0.95

Calls 1

_sortMethod · 0.95

Tested by

no test coverage detected