Compare commits
3 Commits
a50b4ae724
...
310b1547c4
| Author | SHA1 | Date | |
|---|---|---|---|
|
310b1547c4
|
|||
|
688b0fc255
|
|||
|
5b7893536e
|
@@ -401,6 +401,11 @@ export async function getUserQSOs(userId, filters = {}, options = {}) {
|
||||
// Both confirmed: Confirmed by LoTW AND DCL
|
||||
conditions.push(eq(qsos.lotwQslRstatus, 'Y'));
|
||||
conditions.push(eq(qsos.dclQslRstatus, 'Y'));
|
||||
} else if (filters.confirmationType === 'any') {
|
||||
// Confirmed by at least 1 service: LoTW OR DCL
|
||||
conditions.push(
|
||||
sql`(${qsos.lotwQslRstatus} = 'Y' OR ${qsos.dclQslRstatus} = 'Y')`
|
||||
);
|
||||
} else if (filters.confirmationType === 'none') {
|
||||
// Not confirmed: Not confirmed by LoTW AND not confirmed by DCL
|
||||
conditions.push(
|
||||
|
||||
@@ -577,6 +577,7 @@
|
||||
|
||||
<select bind:value={filters.confirmationType} on:change={applyFilters} class="confirmation-filter">
|
||||
<option value="all">All QSOs</option>
|
||||
<option value="any">Confirmed by at least 1 service</option>
|
||||
<option value="lotw">LoTW Only</option>
|
||||
<option value="dcl">DCL Only</option>
|
||||
<option value="both">Both Confirmed</option>
|
||||
|
||||
Reference in New Issue
Block a user