Commit e600cee0 authored by Przemyslaw Kaminski's avatar Przemyslaw Kaminski

[docstable] fix for document view filter for cache on/off

parent 0a3fde0d
dev 145-dev-editor-codetype-change-from-md-to-json 149-dev-ngrams-table-sorting-fix 155-dev-export-list-as-csv 164-dev-node-write-analysis 169-dev-uniqid-removal 174-dev-add-document-rc0.x 174-dev-add-document-rc1.x 174-dev-add-document-rc2.x 174-dev-add-document-rc3.x 174-dev-add-document-rc4.x 184-dev-nlp-languages 201-dev-user-api-key-for-pubmed 203-dev-corpus-json-upload 206-dev-phylo-fixes 208-dev-phylo-search-improvements 213-dev-node-user 213-dev-node-user-temp 217-dev-ngrams-sync-fix 219-memiescape-rc0.x 219-memiescape-rc1.x 224-dev-uniform-ngrams-creation 234-dev-ngrams-score 242-dev-phylo-search-documents 243-dev-graph-explorer-link-filtering 262-dev-phylo-doc-search-ux-improvements 272-dev-docs-table-score 308-dev-order2 310-dev-frontend-lang 312-dev-export-as-zip-file 318-dev-corpus-fields-editeable 322-dev-list-ids-selection 323-dev-user-email-validation 327-dev-async-task-fix 328-dev-document-view-filter-fix-for-cache-on-off 330-dev-minify 331-dev-corpora-from-write-nodes 332-dev-bootstrap-downgrade-rc0.x 333-dev-graph-darkster-theme-rc0.x 333-dev-graph-darkster-theme-rc1.x 333-dev-graph-darkster-theme-rc2.x 334-dev-side-document-view-rc0.x 334-dev-side-document-view-rc1.x 338-dev-csv-maplist-from-gargv3 339-dev-corpus-download 339-dev-docs-download 340-dev-ngrams-tab-rc0.x 340-dev-ngrams-tab-rc1.x 340-search-in-ngrams-table 341-dev-fix-build-instructions 342-dev-corpus-upload-loader-rc0.x 343-dev-gargantext-navigation 344-dev-fix-ngrams-search-for-multi-terms 347-dev-search-enter-fix 349-dev-tag-cloud-in-graph-explorer 350-dev-graph-search-in-forms-not-labels 351-dev-remove-reset-force-atlas-button 352-dev-tag-cloud-duplicated-fix 354-dev-graph-screenshot-fix 358-dev-add-button-fix-when-table-not-empty 359-dev-input-with-autocomplete 360-dev-batch-tagging-fix 360-dev-css-cleaning-rc0.x 362-dev-visio-frame 364-dev-graph-search-rc0.x 365-dev-graphql-folders 366-dev-nodetype-creation 367-dev-cache-search-rc0.x 369-dev-forest-tooltip 371-dev-user-profile 375-dev-docs-focus-rc0.x 375-dev-docs-focus-rc1.x 375-dev-docs-focus-rc3.x 375-dev-docs-focus-rc6.x 375-dev-docs-focus-rc7.x 375-dev-phylo-docs-rc0.x 376-dev-annuaire-contacts-page 376-dev-annuaire-debug-rc0.x 376-dev-annuaire-debug-rc1.x 376-dev-annuaire-debug-rc2.x 376-dev-annuaire-fields-fix 377-dev-fonts-terms-rc0.x 378-dev-add-sync-ngram-rc0.x 379-dev-sidebar-ui-rc0.x 379-dev-sidebar-ui-rc1.x 379-dev-sidebar-ui-rc2.x 379-dev-sidebar-ui-rc3.x 379-dev-sidebar-ui-rc4.x 379-dev-sidebar-ui-rc5.x 381-dev-graph-legend-rc0.x 381-dev-graph-legend-rc1.x 382-dev-plane-navigation 383-dev-docs-chart-update 386-387-392-dev-ui-ux-rc0.x 386-387-dev-ui-ux-rc0.x 387-dev-notebook-ui-rc0.x 391-dev-table-state 393-dev-mouse-alignment-rc0.x 395-dev-ps-0.15-update 396-dev-list-persons-in-team 397-dev-lost-password 399-dev-multiple-trees-rc0.x 401-dev-css-frame-rc0.x 403-dev-config-cache-rc0.x 404-dev-popover-close-button-fix 405-dev-lost-password-design 406-dev-board-source-rc0.x 407-dev-doc-highlighting-rc0.x 408-dev-ngrams-phylo-rc0.x 408-dev-ngrams-phylo-rc1.x 409-dev-ngrams-table-edit-and-search 410-dev-document-null-id 412-dev-graph-explorer-self-referencing-node 414-dev-nested-ngrams-rc0.x 414-dev-nested-ngrams-rc1.x 415-dev-user-description-field 416-dev-ngrams-table-search 418-dev-louvain-clustering-on-filtered-graph 419-dev-ngrams-cache-on-rc0.x 419-dev-ngrams-cache-on-rc1.x 420-dev-document-css-rc0.x 422-dev-resize-handler-rc0.x 423-dev-no-term-mode-rc0.x 423-dev-no-term-mode-rc1.x 424-dev-selected-node-rc0.x 425-dev-terms-page-reset 427-dev-modal-improvement-rc0.x 427-dev-modal-improvement-rc1.x 427-dev-modal-improvement-rc2.x 427-dev-modal-improvement-rc3.x 428-dev-profile-img-upload 429-dev-login-advanced 430-dev-doc-histogram 431-dev-lost-password-email 432-dev-modal-deactivation-rc0.x 432-dev-modal-deactivation-rc1.x 434-modal-with-chrome-browser 438-dev-team-node-creator 440-dev-maplist-modal-rc0.x 441-dev-ngrams-table-sorting-fix 445-dev-doc-upload-language 446-dev-cache-cta-rc0.x 447-448-dev-merge-rc0.x 447-448-dev-merge-rc1.x 447-dev-block-edition-rc0.x 447-dev-block-edition-rc1.x 449-dev-docs-histo-selected 450-dev-filter-histo-multiple-dates 451-dev-disable-controls-when-forceatlas-is-running 452-dev-teams-security 454-dev-fix-graphology-edge-ids 456-dev-doc-annotation-rc0.x 458-dev-dont-allow-spaces-in-doc-annotation-selection 459-dev-graph-fixes 460-dev-graph-toolbar-rc0.x 461-dev-popup-darkmode-rc0.x 463-dev-doc-edit 464-dev-disconnection-issue-rc0.x 464-dev-disconnection-issue-rc1.x 465-dev-graph-explorer-recursion-error 468-dev-ngrams-order-by 471-dev-graph-node-hidden-rc0.x 471-dev-graph-node-hidden-rc1.x 475-dev-node-team-invite 476-dev-rest-error-when-adding-ngrams 480-dev-corpus-upload-list-selection 481-dev-node-calc-upload 489-dev-graph-explorer-fixes 489-dev-grapshot-fixes 496-graph-explorer-regressions 497-dev-node-write-selection 498-dev-invite-many 500-dev-limit-on-text-length-too-small-fix 501-dev-label-shape-in-graph-explorer 506-dev-search-in-tree 509-improve-global-theme 509-improve-global-theme-2 510-dev-textflow-node-progress-bar 511-tree-on-the-right 513-dev-pin-tree 517-sendButton 518-dark-mode-labels-of-the-graph-should-be-white 520-design-logo-of-public-folder-is-not-shown 521-dev-webdriver-tests 529-graph-toolbar-add-tooltips-legends-on-buttons 530-tree-change-the-hide-tree-button-by-a-more-intuitive-toggle-button-display-the-btn-in-the-lateral-bar 536-dev-chart-component-fixes 540-search-show-api-tab 541-dev-doc-table-stars 544-dev-term-table-suggestion-fix-for-children 546-dev-ngrams-scroll-position 547-dev-ngrams-context-sidebar 548-dev-node-url-share 551-dev-annotation-fix 554-design-improve-the-position-of-the-icons 555-abstract-almost-disapear-in-graph-s-doc-view-when-there-is-too-much-authors 555-abstract-almost-disapear-in-graph-s-doc-view-when-there-is-too-much-authors-2 556-forest-tree-node-focus-find-a-way-to-focus-on-the-current-node-in-the-forest-layout-layout 560-dev-graph-add-count-of-docs 561-dev-add-document-wrong-date 562-doc-annotation-menu-selectoin 562-doc-annotation-the-selected-term-menu-selection-has-disappeared 563-dev-doc-ngrams-sync 563-dev-highlight-fixes 563-dev-highlight-fixes-tmp 565-dev-ngrams-table-click-on-child 566-node-terms-restore-a-good-display-the-main-table-cols-display-since-adding-the-show-column 567-graph-rearrange-the-graph-toolbar 568-node-content-breadcrumb-display-the-full-path-of-a-node-as-a-breadcrumb-with-each-clickable-parent 569-top-header-navbar-reorganize-to-navbar 569-top-header-navbar-reorganize-to-navbar-2 571-dev-node-search-api-fixes 571-dev-search-field-fixes 573-node-terms-popin-side-panel-styles-harmonization 576-phylo-refresh-in-phylo-params-add-a-class-active-on-buttons 577-node-docs-popin-dimensions-and-scroll-improvement 578-node-docs-on-the-refresh-dialog-set-both-as-default-and-on-documents-page-remove-2-unused-icons 579-dev-login-button-fix 580-dev-phylo-params 580-phylo-params-display-improvements 581-node-phylo-form-render-improvements 582-dev-phylo-default-behavior 587-node-options-flower-standardise-upload-and-download-buttons-order 593-dev-pubmed-api-key 594-dev-ngrams-click 594-dev-ngrams-patch-fixes 597-tobar-update-link-documentation 598-dev-fixes-to-karp-rabin-ngrams-highlight 598-dev-ngrams-patches-fixes 600-dev-share-error 600-dev-team-invite-fixes 601-slider-level-of-observation-in-phylomemies 602-corpus-from-pads-put-en-as-default-value-in-the-import-form-language-field 603-dev-istex-zip-file-upload 604-user-page-fix-the-error-message-when-the-page-loads 608-fix-breadcrumb-security-hide-items-links 609-breadcrumb-limit-the-elements-that-the-user-is-allowed-to-see-and-add-links 615-dev-highlight-fixes 616-breadcrumb-remove-unnecessary-informations 618-trim-deblank-missing-in-invitations-modal-box 619-documents-from-istex-import-authors-have-always-a-comma-prefix-even-if-there-is-only-one 622-dev-lang-fix 624-corpus-hal-remove-comment-the-hal-all-lang-choice 626-dev-external-assets 628-dev-lang-fix 629-in-document-view-show-institute-field-of-the-document 629-in-document-view-show-institute-field-of-the-document-squashed 634-node-documents-in-the-settings-popin-remove-the-upload-button 634-node-documents-in-the-settings-popin-remove-the-upload-button-2 638-tree-search-enrich-search-results-with-the-path-of-the-node 640-dev-close-modals-with-esc-keypress 641-dev-node-naming-fixes 642-dev-phylo-explorer-regression 643-export-the-phylo-in-json-and-dot-format 643-export-the-phylo-in-json-and-dot-format-2 644-tree-node-graph-update-remove-it-the-resync-picto-no-longer-launch-a-reload-it-should-open-the-dialog-box-on-the-graph-reload-form-confirmation 646-nodes-layout-minor-improvements-icons-in-tabs-titles 647-node-type-api-gql-accomodate-an-additional-field-in-the-node-see-https-gitlab-iscpif-fr-gargantext-haskell-gargantext-issues-336-to-be-able-to-display-the-ty-name-of-a-node 648-dev-graphql-breadcrumbs 655-dev-graph-explorer-search-spaces 668-phylo-on-the-exported-svg-file-fix-the-background-color-behind-the-label 669-tree-focus-temporary-hotfix-comment-the-forced-focus-forest-open-nodes-for-performances-reason 670-dev-first-tree-lighter-calls 673-dev-phylo-term-selection 674-dev-search-reload 676-csv-tsv-in-all-codebase 679-corpus-import-docs-from-selected-list-is-broken 683-dev-graph-explorer-legend 687-dev-document-star 689-dev-graph-legend-improvements 691-node-terms-in-settings-on-the-download-tab-put-json-as-default-selectbox-choice-instead-of-the-current-json-zipped 695-node-document-display-the-db-source-of-a-document-with-authors-etc 696-add-separators-between-keywords-in-phylo 698-dev-ws-host-fix 699-node-graph-display-the-graph-toolbar-by-default-il-would-make-it-possible-to-control-more-quickly-play-pause 701-dev-fix-nix-build 90-dev-generic-zip-file 90-dev-wos-zip-parser adinapoli/garg-375 adinapoli/issue-364 adinapoli/predictable-purescript-rev-path arturo-dev-230109-code-section-block-rc0.x arturo-dev-230109-sidebar-closing-rc0.x arturo-dev-230109-tree-select-indicator-rc0.x arturo-dev-node-term-rerendering-rc0.x arturo-dev-node-term-rerendering-rc1.x arturo-dev-node-terms-ux-rc0.x arturo-dev-node-terms-ux-rc1.x arturo-dev-react-tooltip-warning-rc0.x arturo/220414-CSS-move-nodes-rc0.x cm/gitignore-dist cm/update-corpus-button dev-269-DoorWelcome dev-301-visio-fix-suggestion dev-303-refactoring dev-503-progressBarWaitingText dev-508-clean-warnings-and-deprecated-code dev-509-improve-global-theme dev-511-tree-on-the-right dev-519-weird-behavior-of-waiting-bars dev-523-node-sharing-completions-css dev-552-home-instances-blocks-adding-logout-btn dev-593-pubmed-api-key dev-add-edge-weight-control dev-arxiv dev-bdd dev-bipartite dev-epo-integration dev-epo-patents dev-fix-for-nolist-serialization dev-fix-progress-bar dev-fix-update-node-params-list-serialization dev-folders-parent dev-frame-calc-corpus-csv-upload dev-gql-user-token dev-graph-multipartite dev-graphql dev-graphql-deriving dev-hackathon-fixes dev-hal-notebook dev-ihaskell dev-istex dev-localhost-ssl dev-merge dev-ngrams-table-search-page-flicker-fix dev-noHisto dev-node-calc-parser dev-openalex dev-padagraph-node dev-phylo dev-phylo-r5.x dev-phylo-rc1.x dev-phylo-rc2.x dev-phylo-rc3.x dev-phylo-rc4.x dev-remove-all-lang dev-searx-parser dev-spago-next dev-spago-next-edge-weight dev-spago-next-with-flake dev-term-moving-fix dev-test dev-testing dev-upload-zip dev-websockets fix-361 fix-quote-with-space fix-update-btn fix/386 haskell-190-dev-fixes-to-framecalc-post-request master patch-1 stable testing testing-fix 0.0.7.3.1 0.0.7.3 0.0.7.2.8 0.0.7.2.7 0.0.7.2.6 0.0.7.2.5 0.0.7.2.4 0.0.7.2.3 0.0.7.2.2 0.0.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5.4 0.0.5.5.3 0.0.5.5.2 0.0.5.5.1 0.0.5.5 0.0.5.3 0.0.5.2 0.0.5.1 0.0.5 0.0.4.9.9.6 0.0.4.9.9.5 0.0.4.9.9.4 0.0.4.9.9.3 0.0.4.9.9.2 0.0.4.9.9.1 0.0.4.9.9 0.0.4.9.8 0.0.4.9.7 0.0.4.9.6 0.0.4.9.5 0.0.4.9.4 0.0.4.9.3 0.0.4.9.2 0.0.4.9.1 0.0.4.9 0.0.4.8.9 0.0.4.8.8 0.0.4.8.7 0.0.4.8.6 0.0.4.8.5 0.0.4.8.4 0.0.4.8.1 0.0.4.8 0.0.4.7.3 0.0.4.7.2 0.0.4.7.1 0.0.4.7 0.0.4.6.1 0.0.4.6 0.0.4.5 0.0.4.4 0.0.4.3 0.0.4.2 0.0.4.1 0.0.4 0.0.3.9.1 0.0.3.9 0.0.3.8.1 0.0.3.8 0.0.3.7 0.0.3.6 0.0.3.5 0.0.3.4
No related merge requests found
......@@ -276,8 +276,10 @@ pageLayoutCpt = here.component "pageLayout" cpt where
handleResponse :: HashedResponse (TableResult Response) -> Tuple Int (Array DocumentsView)
handleResponse (HashedResponse { hash, value: res }) = ret
where
filters = filterDocs query
filterDocs' q ds = case cacheState' of
NT.CacheOff -> ds
NT.CacheOn -> filterDocs q ds
filters = filterDocs' query
>>> \res' -> case yearFilter' of
Nothing -> res'
Just year -> filterDocsByYear year res'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment