Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: remove issue search limit (#8631)

ecmadaof3f9bad42dd6
diff --git a/frontend/src/components/LabelEditorDrawer.vue b/frontend/src/components/LabelEditorDrawer.vue
index af8e673283..0260dd8b9e 100644
--- a/frontend/src/components/LabelEditorDrawer.vue
+++ b/frontend/src/components/LabelEditorDrawer.vue
@@ -30,16 +30,12 @@
</template>
<script lang="ts" setup>
-import { cloneDeep, isEqual } from "lodash-es";
+import { isEqual } from "lodash-es";
import { computed, reactive, watch, ref } from "vue";
import LabelListEditor from "@/components/Label/LabelListEditor.vue";
import { Drawer, DrawerContent } from "@/components/v2";
import { type ComposedDatabase } from "@/types";
-import {
- PRESET_LABEL_KEYS,
- convertKVListToLabels,
- convertLabelsToKVList,
-} from "@/utils";
+import { convertKVListToLabels, convertLabelsToKVList } from "@/utils";
const props = defineProps<{
show: boolean;
@@ -69,14 +65,7 @@ const state = reactive<LocalState>({
const labelListEditorRef = ref<InstanceType<typeof LabelListEditor>>();
const convert = () => {
- const labels = cloneDeep(props.labels);
- // Pre-fill preset label keys with empty values
- for (const key of PRESET_LABEL_KEYS) {
- if (!(key in labels)) {
- labels[key] = "";
- }
- }
- return convertLabelsToKVList(labels, true /* sort */);
+ return convertLabelsToKVList(props.database.labels, true /* sort */);
};
const dirty = computed(() => {
diff --git a/frontend/src/views/IssueDashboard.vue b/frontend/src/views/IssueDashboard.vue
index d6a9e0d174..0b9eed3a9c 100644
--- a/frontend/src/views/IssueDashboard.vue
+++ b/frontend/src/views/IssueDashboard.vue
@@ -344,7 +344,7 @@ const issueFilter = computed((): IssueFilter => {
}
}
- const filter: IssueFilter = {
+ return {
query,
instance: getValueFromIssueFilter(instanceNamePrefix, "instance"),
database,
@@ -356,16 +356,10 @@ const issueFilter = computed((): IssueFilter => {
? selectedTimeRange.value[1]
: undefined,
type: typeScope?.value,
+ principal: getValueFromIssueFilter(userNamePrefix, "principal"),
+ creator: getValueFromIssueFilter(userNamePrefix, "creator"),
+ assignee: getValueFromIssueFilter(userNamePrefix, "assignee"),
+ subscriber: getValueFromIssueFilter(userNamePrefix, "subscriber"),
};
-
- if (!hasPermission.value) {
- filter.principal = `${userNamePrefix}${currentUserV1.value.email}`;
- } else {
- filter.principal = getValueFromIssueFilter(userNamePrefix, "principal");
- filter.creator = getValueFromIssueFilter(userNamePrefix, "creator");
- filter.assignee = getValueFromIssueFilter(userNamePrefix, "assignee");
- filter.subscriber = getValueFromIssueFilter(userNamePrefix, "subscriber");
- }
- return filter;
});
</script>