|
|
@@ -426,7 +426,7 @@ public class Renderings extends Controller {
|
|
|
querySQL.setPage(pageSize, pageNumber).setOrderBy(pageSorting);
|
|
|
Rows rows = querySQL.query();
|
|
|
RowsMap rowsMap;
|
|
|
- if (type == 2) {
|
|
|
+ if (type == 3) {
|
|
|
rowsMap = getAttachmentUrl("sa_fad", rows.toArrayList("sa_fadid", new ArrayList<>()), "sa_fad");
|
|
|
} else {
|
|
|
rowsMap = getAttachmentUrl("sat_sharematerial", rows.toArrayList("sat_sharematerialid", new ArrayList<>()), "sat_sharematerial");
|