Skip to content

Commit 2519d00

Browse files
committed
Merge branch '2-14-stable' into develop
2 parents daea1fd + 8c554d3 commit 2519d00

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

db/sql/migrations/v2.14.1.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
alter table `project__integration_extract_value` add `variable_type` varchar(255) not null;
1+
alter table `project__integration_extract_value` add `variable_type` varchar(255);
22
update `project__integration_extract_value` set `variable_type` = 'environment' where `variable_type` is null or `variable_type` = '';

db/sql/session.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ func (d *SqlDb) GetSession(userID int, sessionID int) (session db.Session, err e
6161
}
6262

6363
func (d *SqlDb) ExpireSession(userID int, sessionID int) error {
64-
res, err := d.exec("update session set expired=1 where id=? and user_id=?", sessionID, userID)
64+
res, err := d.exec("update session set expired=true where id=? and user_id=?", sessionID, userID)
6565

6666
return validateMutationResult(res, err)
6767
}

web/src/components/SurveyVars.vue

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
flat
6464
hide-details
6565
v-model="props.item.name"
66+
:label="$t('matchKey')"
6667
class="v-text-field--solo--no-min-height"
6768
></v-text-field>
6869
</td>
@@ -72,6 +73,7 @@
7273
flat
7374
hide-details
7475
v-model="props.item.value"
76+
:label="$t('matchValue')"
7577
class="v-text-field--solo--no-min-height"
7678
></v-text-field>
7779
</td>
@@ -101,8 +103,9 @@
101103
v-model="editedVar.default_value"
102104
:label="$t('default_value')"
103105
:items="editedValues"
104-
item-value="name"
105-
item-text="value"
106+
item-value="value"
107+
item-text="name"
108+
clearable
106109
></v-select>
107110

108111
<v-text-field

0 commit comments

Comments
 (0)