diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 55e22f4..128c529 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -1,12 +1,8 @@ name: Build RPMs on: - release: - types: [published] - tags: - - '1.1*' - branches: - - master + tags: + - '1.*' workflow_dispatch: env: diff --git a/harbour-tooterb.pro.user b/harbour-tooterb.pro.user index 3d4772a..b79aa86 100644 --- a/harbour-tooterb.pro.user +++ b/harbour-tooterb.pro.user @@ -1,6 +1,6 @@ - + EnvironmentId @@ -92,7 +92,7 @@ SailfishOS-4.4.0.58-aarch64 (in Sailfish SDK Build Engine) SailfishOS-4.4.0.58-aarch64 (in Sailfish SDK Build Engine) SailfishOS-4.4.0.58-aarch64.default - 0 + 1 0 0 diff --git a/qml/pages/MainPage.qml b/qml/pages/MainPage.qml index 381f767..c155e69 100644 --- a/qml/pages/MainPage.qml +++ b/qml/pages/MainPage.qml @@ -158,6 +158,18 @@ Page { delegate: VisualContainer Component.onCompleted: { view.type = "timelines/tag/"+tlSearch.search.substring(1) + var ids = [] + view.params = [] + view.params.push({name: 'limit', data: "20" }); + /* we push the ids via params which we remove in the WorkerScript + * see: MyList:loadData() and should move */ + if (mdl.count) { + for(var i = 0 ; i < mdl.count ; i++) { + ids.push(mdl.get(i).id) + //if (debug) console.log(model.get(i).id) + } + view.params.push({name: 'ids', data: ids }); + } view.loadData("append") } } @@ -229,8 +241,20 @@ Page { delegate: VisualContainer Component.onCompleted: { + var ids = [] + view3.params = [] + view3.params.push({name: 'limit', data: "20" }); + /* we push the ids via params which we remove in the WorkerScript + * see: MyList:loadData() and should move */ + if (mdl.count) { + for(var i = 0 ; i < mdl.count ; i++) { + ids.push(mdl.get(i).id) + //if (debug) console.log(model.get(i).id) + } + view3.params.push({name: 'ids', data: ids }); + } view3.type = "timelines/tag/"+tlSearch.search - view3.loadData("append") + view3.loadData("prepend") } } }