Skip to content

Commit

Permalink
#53 Missing limit
Browse files Browse the repository at this point in the history
#53 Missing limit
  • Loading branch information
tesshucom committed Jul 2, 2018
2 parents 5f968f4 + 7e8d201 commit 5f8a622
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -135,7 +135,7 @@ public List<Artist> getAlphabetialArtists(final int offset, final int count, fin
}};

return namedQuery("select " + QUERY_COLUMNS + " from artist where present and folder_id in (:folders) " +
"order by coalesce(sort, reading, name) :count offset :offset", rowMapper, args);
"order by coalesce(sort, reading, name) limit :count offset :offset", rowMapper, args);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion jpsonic-main/src/main/webapp/WEB-INF/jsp/help.jsp
Expand Up @@ -36,7 +36,7 @@

<table width="75%" class="ruleTable indent">

<tr><td class="ruleTableHeader"><fmt:message key="help.version.title"/></td><td class="ruleTableCell">Jpsonic 1.3 cloned version of Airsonic ${versionString} &ndash; ${buildDateString}</td></tr>
<tr><td class="ruleTableHeader"><fmt:message key="help.version.title"/></td><td class="ruleTableCell">Jpsonic 1.3.1 cloned version of Airsonic ${versionString} &ndash; ${buildDateString}</td></tr>
<tr><td class="ruleTableHeader"><fmt:message key="help.server.title"/></td><td class="ruleTableCell">${model.serverInfo} (<sub:formatBytes bytes="${model.usedMemory}"/> / <sub:formatBytes bytes="${model.totalMemory}"/>)</td></tr>
<tr><td class="ruleTableHeader"><fmt:message key="help.license.title"/></td><td class="ruleTableCell">
<a href="http://www.gnu.org/copyleft/gpl.html" target="_blank"><img style="float:right;margin-left: 10px" alt="GPL 3.0" src="<c:url value="/icons/default_light/gpl.png"/>"></a>
Expand Down

0 comments on commit 5f8a622

Please sign in to comment.