Skip to content

Commit

Permalink
Merge pull request #5 from AplinkosMinisterija/BU-145
Browse files Browse the repository at this point in the history
Sorting by municipality name
  • Loading branch information
ambrazasp authored Sep 25, 2023
2 parents 38bb321 + 88413c4 commit 96a3ebd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/includes/object-location-table.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<% }; %>
<tr>
<td>Savivaldybė (-ės):</td>
<td><%= municipalities?.map(i => i.sav_pavadinimas).join(", "); %></td>
<td><%= municipalities?.map(i => i.sav_pavadinimas).sort((name1, name2) => name1.localeCompare(name2)).join(", "); %></td>
</tr>
<% if (!!locals.patvenktosUpesPavadinimas) { %>
<tr>
Expand Down
2 changes: 1 addition & 1 deletion templates/styles.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@
width: 50%;
padding-left: 0.5rem;
padding-right: 0.5rem;
vertical-align: bottom;
vertical-align: top;
}
.table-center td.big {
Expand Down

0 comments on commit 96a3ebd

Please sign in to comment.