View | Details | Raw Unified | Return to bug 35919
Collapse All | Expand All

(-)a/debian/templates/apache-shared-intranet.conf (-1 / +1 lines)
Lines 24-30 RewriteRule ^(.*)_[0-9]{2}\.[0-9]{7}\.(js|css)$ $1.$2 [L] Link Here
24
RewriteRule ^/cgi-bin/koha/erm/.*$ /cgi-bin/koha/erm/erm.pl [PT]
24
RewriteRule ^/cgi-bin/koha/erm/.*$ /cgi-bin/koha/erm/erm.pl [PT]
25
RewriteCond %{REQUEST_URI} !^/cgi-bin/koha/preservation/.*.pl$
25
RewriteCond %{REQUEST_URI} !^/cgi-bin/koha/preservation/.*.pl$
26
RewriteRule ^/cgi-bin/koha/preservation/.*$ /cgi-bin/koha/preservation/home.pl [PT]
26
RewriteRule ^/cgi-bin/koha/preservation/.*$ /cgi-bin/koha/preservation/home.pl [PT]
27
RewriteRule ^/cgi-bin/koha/admin/record_sources(.*)?$ /cgi-bin/koha/admin/record_sources.pl$1 [PT]
27
RewriteRule ^/cgi-bin/koha/admin/record_sources/.*$ /cgi-bin/koha/admin/record_sources.pl [PT]
28
28
29
Alias "/api" "/usr/share/koha/api"
29
Alias "/api" "/usr/share/koha/api"
30
<Directory "/usr/share/koha/api">
30
<Directory "/usr/share/koha/api">
(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Admin/RecordSources/Edit.vue (-2 / +2 lines)
Lines 27-33 Link Here
27
            <fieldset class="action">
27
            <fieldset class="action">
28
                <input type="submit" :value="$__('Submit')" />
28
                <input type="submit" :value="$__('Submit')" />
29
                <router-link
29
                <router-link
30
                    to="../record_sources"
30
                    :to="{ name: 'List' }"
31
                    role="button"
31
                    role="button"
32
                    class="cancel"
32
                    class="cancel"
33
                    >{{ $__("Cancel") }}</router-link
33
                    >{{ $__("Cancel") }}</router-link
Lines 79-85 export default { Link Here
79
            }
79
            }
80
            return response.then(responseMessage => {
80
            return response.then(responseMessage => {
81
                this.setMessage(responseMessage)
81
                this.setMessage(responseMessage)
82
                return this.$router.push({ path: "../record_sources" })
82
                return this.$router.push({ name: "List" })
83
            })
83
            })
84
        },
84
        },
85
    },
85
    },
(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/routes/admin/record_sources.js (+1 lines)
Lines 20-25 export default { Link Here
20
                {
20
                {
21
                    title: $__("List"),
21
                    title: $__("List"),
22
                    path: "",
22
                    path: "",
23
                    name: "List",
23
                    component: markRaw(List),
24
                    component: markRaw(List),
24
                },
25
                },
25
                {
26
                {
(-)a/t/cypress/integration/Admin/RecordSources_spec.ts (-4 / +1 lines)
Lines 15-21 describe("Breadcrumbs tests", () => { Link Here
15
        cy.get(".item-last").contains("Record sources");
15
        cy.get(".item-last").contains("Record sources");
16
        // use the 'New' button
16
        // use the 'New' button
17
        cy.contains("New record source").click();
17
        cy.contains("New record source").click();
18
        cy.wait(500);
19
        cy.get(".current").contains("Add record source");
18
        cy.get(".current").contains("Add record source");
20
        cy.get("#breadcrumbs")
19
        cy.get("#breadcrumbs")
21
            .contains("Record sources")
20
            .contains("Record sources")
Lines 114-120 describe("Record sources CRUD tests", () => { Link Here
114
        cy.get("#record_sources_list table tbody tr:first")
113
        cy.get("#record_sources_list table tbody tr:first")
115
            .contains("Edit")
114
            .contains("Edit")
116
            .click();
115
            .click();
117
        cy.wait(500);
118
        cy.get("#name").should("have.value", "Source 1");
116
        cy.get("#name").should("have.value", "Source 1");
119
        cy.get("#can_be_edited").should("be.checked");
117
        cy.get("#can_be_edited").should("be.checked");
120
118
Lines 126-132 describe("Record sources CRUD tests", () => { Link Here
126
                can_be_edited: false,
124
                can_be_edited: false,
127
            },
125
            },
128
        });
126
        });
129
        cy.visit("/cgi-bin/koha/admin/record_sources/1");
127
        cy.visit("/cgi-bin/koha/admin/record_sources/edit/1");
130
        cy.get("#name").should("have.value", "Source 1");
128
        cy.get("#name").should("have.value", "Source 1");
131
        cy.get("#can_be_edited").should("not.be.checked");
129
        cy.get("#can_be_edited").should("not.be.checked");
132
130
133
- 

Return to bug 35919