Skip to content

Commit

Permalink
Do not set entity order when calling ImageService.addImages()
Browse files Browse the repository at this point in the history
Dataset does not contain the field `marbilder.EntityOrder`, causing orders. We do not need the ordering as output in the json.
  • Loading branch information
dersmon committed Oct 2, 2024
1 parent 1c228e1 commit c3727e7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public void addImages(final Dataset dataset) {
image.setImageId(arachneId.getArachneEntityID());
String fileName = dataset.getField("marbilder.DateinameMarbilder");
image.setImageSubtitle(fileName.substring(0, fileName.lastIndexOf('.')));
image.setEntityOrder(Integer.parseInt(dataset.getField("marbilder.EntityOrder")));
//image.setEntityOrder(Integer.parseInt(dataset.getField("marbilder.EntityOrder")));
final List<Image> imageList = new ArrayList<Image>();
imageList.add(image);
dataset.setImages(imageList);
Expand Down

0 comments on commit c3727e7

Please sign in to comment.