= ({ user }) => {
placeholder="Enter your last name..."
validations={{
required: "Last name is required",
+ maxLength: {
+ value: 24,
+ message: "Last name cannot exceed the limit of 24 characters",
+ },
}}
error={errors.last_name}
/>
diff --git a/web/components/profile/profile-issues-view-options.tsx b/web/components/profile/profile-issues-view-options.tsx
index 272a5e47f..c853da530 100644
--- a/web/components/profile/profile-issues-view-options.tsx
+++ b/web/components/profile/profile-issues-view-options.tsx
@@ -239,9 +239,11 @@ export const ProfileIssuesViewOptions: React.FC = () => {
option.key === displayFilters?.type
- )?.name ?? "Select"
+
+ {FILTER_ISSUE_OPTIONS.find(
+ (option) => option.key === displayFilters?.type
+ )?.name ?? "Select"}
+
}
className="!w-full"
buttonClassName="w-full"
diff --git a/web/constants/fetch-keys.ts b/web/constants/fetch-keys.ts
index 75107a0bb..a1ead117f 100644
--- a/web/constants/fetch-keys.ts
+++ b/web/constants/fetch-keys.ts
@@ -14,6 +14,7 @@ const paramsToKey = (params: any) => {
sub_issue,
start_target_date,
project,
+ subscriber,
} = params;
let projectKey = project ? project.split(",") : [];
@@ -23,6 +24,7 @@ const paramsToKey = (params: any) => {
let assigneesKey = assignees ? assignees.split(",") : [];
let createdByKey = created_by ? created_by.split(",") : [];
let labelsKey = labels ? labels.split(",") : [];
+ let subscriberKey = subscriber ? subscriber.split(",") : [];
const startTargetDate = start_target_date ? `${start_target_date}`.toUpperCase() : "FALSE";
const startDateKey = start_date ?? "";
const targetDateKey = target_date ?? "";
@@ -38,8 +40,9 @@ const paramsToKey = (params: any) => {
assigneesKey = assigneesKey.sort().join("_");
createdByKey = createdByKey.sort().join("_");
labelsKey = labelsKey.sort().join("_");
+ subscriberKey = subscriberKey.sort().join("_");
- return `${projectKey}_${stateGroupKey}_${stateKey}_${priorityKey}_${assigneesKey}_${createdByKey}_${type}_${groupBy}_${orderBy}_${labelsKey}_${startDateKey}_${targetDateKey}_${sub_issue}_${startTargetDate}`;
+ return `${projectKey}_${stateGroupKey}_${stateKey}_${priorityKey}_${assigneesKey}_${createdByKey}_${type}_${groupBy}_${orderBy}_${labelsKey}_${startDateKey}_${targetDateKey}_${sub_issue}_${startTargetDate}_${subscriberKey}`;
};
const inboxParamsToKey = (params: any) => {
diff --git a/web/hooks/use-issues-view.tsx b/web/hooks/use-issues-view.tsx
index 80cabda21..1f15c09f9 100644
--- a/web/hooks/use-issues-view.tsx
+++ b/web/hooks/use-issues-view.tsx
@@ -47,7 +47,7 @@ const useIssuesView = () => {
assignees: filters?.assignees ? filters?.assignees.join(",") : undefined,
state: filters?.state ? filters?.state.join(",") : undefined,
priority: filters?.priority ? filters?.priority.join(",") : undefined,
- type: displayFilters?.type ? displayFilters?.type : undefined,
+ type: !isArchivedIssues ? (displayFilters?.type ? displayFilters?.type : undefined) : undefined,
labels: filters?.labels ? filters?.labels.join(",") : undefined,
created_by: filters?.created_by ? filters?.created_by.join(",") : undefined,
start_date: filters?.start_date ? filters?.start_date.join(",") : undefined,