Skip to content

Commit

Permalink
get_extended_data_from_NASIS_db: parent material sort order should us…
Browse files Browse the repository at this point in the history
…e pmorder if populated
  • Loading branch information
brownag committed Mar 8, 2023
1 parent 58c4c60 commit 856c8ef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/get_extended_data_from_NASIS_db.R
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,8 @@ LEFT OUTER JOIN (
q.sitepm <- "SELECT siteiidref as siteiid, seqnum, pmorder, pmdept, pmdepb, pmmodifier, pmgenmod, pmkind, pmorigin
FROM
sitepm_View_1 AS spm
INNER JOIN site_View_1 AS s ON spm.siteiidref = s.siteiid;"
INNER JOIN site_View_1 AS s ON spm.siteiidref = s.siteiid
ORDER BY spm.siteiidref, pmorder;"

# toggle selected set vs. local DB
if (SS == FALSE) {
Expand Down

0 comments on commit 856c8ef

Please sign in to comment.