chore(labels): park the label designer and printing on feature/labels
The feature needs more rounds than the next release can wait for, so main goes back to before it: the packages, bindings, migration, UI and i18n all move to the feature/labels branch, which holds every commit. The 0.26.23 block keeps only the Station column. The 0031 migration may already have run on a machine that launched a dev build; the two label tables it created are inert and the recorded migration row is harmless — the runner only applies filenames it has, so re-adding the migration when the branch merges will skip cleanly there and apply everywhere else.
This commit is contained in:
+2
-11
@@ -232,11 +232,8 @@ type ListFilter struct {
|
||||
Band string `json:"band,omitempty"`
|
||||
Mode string `json:"mode,omitempty"`
|
||||
StationCallsign string `json:"station_callsign,omitempty"`
|
||||
// QSLSentIn keeps only rows whose paper-QSL sent status is one of these
|
||||
// values — 'R' (requested) and 'Q' (queued) are the label printer's queue.
|
||||
QSLSentIn []string `json:"qsl_sent_in,omitempty"`
|
||||
Limit int `json:"limit,omitempty"`
|
||||
Offset int `json:"offset,omitempty"`
|
||||
Limit int `json:"limit,omitempty"`
|
||||
Offset int `json:"offset,omitempty"`
|
||||
}
|
||||
|
||||
// Repo accesses the qso table.
|
||||
@@ -1214,12 +1211,6 @@ func (r *Repo) List(ctx context.Context, f ListFilter) ([]QSO, error) {
|
||||
q += " AND station_callsign = ?"
|
||||
args = append(args, f.StationCallsign)
|
||||
}
|
||||
if len(f.QSLSentIn) > 0 {
|
||||
q += " AND qsl_sent IN (?" + strings.Repeat(",?", len(f.QSLSentIn)-1) + ")"
|
||||
for _, v := range f.QSLSentIn {
|
||||
args = append(args, v)
|
||||
}
|
||||
}
|
||||
q += " ORDER BY qso_date DESC, id DESC"
|
||||
if f.Limit <= 0 {
|
||||
f.Limit = 500
|
||||
|
||||
Reference in New Issue
Block a user