Skip to content

Commit 3ead61b

Browse files
committed
#4859 Fix query on open for embedded queries
1 parent 2579e7d commit 3ead61b

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

stroom-core-client/src/main/java/stroom/dashboard/client/embeddedquery/EmbeddedQueryPresenter.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,8 @@ private void loadEmbeddedQuery() {
593593
queryModel.init(result.asDocRef());
594594
query = result.getQuery();
595595
initialised = true;
596-
if (queryOnOpen) {
596+
final Automate automate = settings.getAutomate();
597+
if (queryOnOpen || automate.isOpen()) {
597598
run(true, false);
598599
}
599600
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
* Issue **#4859** : Fix query on open for embedded queries.
2+
3+
4+
```sh
5+
# ********************************************************************************
6+
# Issue title: Query on Open isn't working when using an Embedded Query
7+
# Issue link: https://github.com/gchq/stroom/issues/4859
8+
# ********************************************************************************
9+
10+
# ONLY the top line will be included as a change entry in the CHANGELOG.
11+
# The entry should be in GitHub flavour markdown and should be written on a SINGLE
12+
# line with no hard breaks. You can have multiple change files for a single GitHub issue.
13+
# The entry should be written in the imperative mood, i.e. 'Fix nasty bug' rather than
14+
# 'Fixed nasty bug'.
15+
#
16+
# Examples of acceptable entries are:
17+
#
18+
#
19+
# * Issue **123** : Fix bug with an associated GitHub issue in this repository
20+
#
21+
# * Issue **namespace/other-repo#456** : Fix bug with an associated GitHub issue in another repository
22+
#
23+
# * Fix bug with no associated GitHub issue.
24+
```

0 commit comments

Comments
 (0)