hunk.code_window: 					if let Some(order) = order {
   						query = query.order_by(order.into_param());
   					}
   					if let Some(cursor) = cursor {
   						query = query.cursor(object::pub_id::equals(cursor));
   					}
   					let (objects, cursor) = {
   						let mut objects = query
  
hunk.labels: keep keep keep keep replace replace keep keep keep keep
hunk.after_edit: 					if let Some(pagination) = pagination {
   						match pagination {
   							ObjectPagination::Cursor { pub_id } => {
   								query = query.cursor(object::pub_id::equals(pub_id));
   							}
   							ObjectPagination::Offset(offset) => {
   								query = query.skip(offset as i64);
   							}
   						}
  
hunk.file_path: core/src/api/search.rs
hunk.type: replace
file: import clsx from 'clsx';
  import { MacTrafficLights } from '~/components';
  import { useOperatingSystem } from '~/hooks';
  import Contents from './Contents';
  import Footer from './Footer';
  import LibrariesDropdown from './LibrariesDropdown';
  import { macOnly } from './helpers';
  
  export default () => {
  	const os = useOperatingSystem();
  	const showControls = window.location.search.includes('showControls');
  
  	return (
  		<div
  			className={clsx(
  				'relative flex min-h-full w-44 shrink-0 grow-0 flex-col gap-2.5 border-r border-sidebar-divider bg-sidebar px-2.5 pb-2 pt-2.5',
  				macOnly(os, 'bg-opacity-[0.65]')
  			)}
  		>
  			{showControls && <MacTrafficLights className="absolute left-[13px] top-[13px] z-50" />}
  			{os === 'macOS' && <div data-tauri-drag-region className="h-5 w-full" />}
  			<LibrariesDropdown />
  			<Contents />
  			<Footer />
  		</div>
  	);
  };
  