projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34f4f0d
)
perpage_default should work without select menu, MKWS-51
author
Wolfram Schneider
<wosch@indexdata.dk>
Mon, 13 Jan 2014 17:17:11 +0000
(17:17 +0000)
committer
Wolfram Schneider
<wosch@indexdata.dk>
Mon, 13 Jan 2014 17:17:11 +0000
(17:17 +0000)
tools/htdocs/mkws.js
patch
|
blob
|
history
diff --git
a/tools/htdocs/mkws.js
b/tools/htdocs/mkws.js
index
cacc8d0
..
e3ca0e1
100644
(file)
--- a/
tools/htdocs/mkws.js
+++ b/
tools/htdocs/mkws.js
@@
-207,6
+207,7
@@
Handlebars.registerHelper('commaList', function(items, options) {
}
}
+
mkws.sort = mkws_config.sort_default;
debug("copied mkws_config.sort_default '" + mkws_config.sort_default + "' to mkws.sort");
@@
-257,6
+258,10
@@
var SourceMax = 16;
var SubjectMax = 10;
var AuthorMax = 10;
+if ($.isNumeric(mkws_config.perpage_default)) {
+ recPerPage = parseInt(mkws_config.perpage_default);
+}
+
//
// pz2.js event handlers:
//