hunk.code_window:         return queryOne(List.of(nameCriteria), aclPermission);
       }
       @Override
       public Flux<Organization> findByIdsIn(Set<String> orgIds, AclPermission aclPermission) {
           Criteria orgIdsCriteria = where(fieldName(QOrganization.organization.id)).in(orgIds);
  
hunk.labels: keep keep keep keep keep replace keep
hunk.after_edit:     public Flux<Organization> findByIdsIn(Set<String> orgIds, AclPermission aclPermission, Sort sort) {
  
hunk.file_path: app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/CustomOrganizationRepositoryImpl.java
hunk.type: replace
file: import { createImmerReducer } from "utils/AppsmithUtils";
  import {
    ReduxActionTypes,
    UpdateCanvasPayload,
    ReduxAction,
  } from "constants/ReduxActionConstants";
  import { WidgetProps } from "widgets/BaseWidget";
  import { UpdateWidgetPropertyPayload } from "actions/controlActions";
  
  const initialState: CanvasWidgetsReduxState = {};
  
  export type FlattenedWidgetProps = WidgetProps & {
    children?: string[];
  };
  
  const canvasWidgetsReducer = createImmerReducer(initialState, {
    [ReduxActionTypes.UPDATE_CANVAS]: (
      state: CanvasWidgetsReduxState,
      action: ReduxAction<UpdateCanvasPayload>,
    ) => {
      return action.payload.widgets;
    },
    [ReduxActionTypes.UPDATE_LAYOUT]: (
      state: CanvasWidgetsReduxState,
      action: ReduxAction<UpdateCanvasPayload>,
    ) => {
      return action.payload.widgets;
    },
    [ReduxActionTypes.UPDATE_WIDGET_PROPERTY]: (
      state: CanvasWidgetsReduxState,
      action: ReduxAction<UpdateWidgetPropertyPayload>,
    ) => {
      state[action.payload.widgetId][action.payload.propertyName] =
        action.payload.propertyValue;
    },
  });
  
  export interface CanvasWidgetsReduxState {
    [widgetId: string]: FlattenedWidgetProps;
  }
  
  export default canvasWidgetsReducer;
  